如何使用箭头和项目符号更改滑块的过渡类型(jssor)

时间:2015-08-03 14:16:43

标签: jssor

我通过下面的代码更改了jssor过渡类型(从幻灯片到淡入淡出):

 $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
            },

当滑块自动播放时,此转换可正常工作,但当我使用箭头或项目符号导航到幻灯片时,转换的类型是滑动而不是淡入淡出 怎么解决呢?

- _SlideshowTransitions的值是:

 var _SlideshowTransitions = [
                {$Duration:700,$Opacity:2}
             ];

0 个答案:

没有答案