2015-02-23 77 views

回答

0
jssor_slider1_starter = function (containerId) { 

    var _SlideshowTransitions = [ 
    //Fade 
    { $Duration: 1200, $Opacity: 2 } 
    ]; 

    var options = { 
     $SlideshowOptions: {        //[Optional] Options to specify and enable slideshow or not 
      $Class: $JssorSlideshowRunner$,     //[Required] Class to create instance of slideshow 
      $Transitions: _SlideshowTransitions,   //[Required] An array of slideshow transitions to play slideshow 
      $TransitionsOrder: 1,       //[Optional] The way to choose transition to play slide, 1 Sequence, 0 Random 
      $ShowLink: true         //[Optional] Whether to bring slide link on top of the slider when slideshow is running, default value is false 
     } 
    }; 
    var jssor_slider1 = new $JssorSlider$(containerId, options); 
}; 

參考:演示-NO-的jQuery /簡單淡入slideshow.source.html

+0

大,它的作品!我也設置爲「false」自動播放。 謝謝 – 2015-02-25 23:18:09