我根据页面上的说明在我的WordPress中(在自定义帖子类型的模板中)嵌入了Jssor滑块(带有垂直缩略图的图库):
http://www.jssor.com/development/embed-jssor-slider-into-blogger-post.html
我想:
你能帮我吗?
答案 0 :(得分: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);
};
参考:demos-no-jquery / simple-fade-slideshow.source.html