2015-02-23 133 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