简体   繁体   English

基本的JQuery滑块不适用于幻灯片

[英]Basic JQuery Slider Not working for Slide

I am using a Basic JQuery SLider from the following site. 我正在从以下站点使用Basic JQuery SLider。 http://www.basic-slider.com/ http://www.basic-slider.com/

When I use animtype: 'fade' it works perfectly, but when I use animtype: 'slide' images does not appear. 当我使用animtype:“淡入淡出”时,效果很好,但是当我使用animtype:“滑动”图像时却不出现。 My code is below. 我的代码如下。

$('#banner-slide').bjqs({

            height      : 500,
            width       : 800,
            animspeed : 1000,
            responsive    : true,
            randomstart   : true,
            showmarkers : false,
            hoverpause : false,
            animduration : 350,
            prevtext  : '<img src="../Images/arrow-prev.png">',
            nexttext : '<img src="../Images/arrow-next.png">',
            animtype :  'fade',
            responsive  : true
            });

the prevtext and nexttext are not supposed to be the image src prevtext和nexttext不应该是图像src

add the images in the <li></li> <li></li>添加图像

<div id="my-slideshow">
<ul class="bjqs">
    <li><!-- Any content you like --></li>
    <li><!-- Can go inside these slides--></li>
</ul>
</div>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM