jquery - Auto change JSlide -
i'm using jslide create carousel friend, have problem changing of slides.
is possible change automatically slide through each 1 @ specific time interval? example, let's 5s delay before slider changes?
another thing removal of pagination buttons, i'm assuming remove pagination code function? i'm not entirely sure
anyway, here's whole code below:
html
<div class="slidescontainer"> <div id="slides"> <img src="http://i39.tinypic.com/30sh5wo.jpg" alt="banner 1"> <img src="http://i41.tinypic.com/w5gds.jpg" alt="banner 2"> <img src="http://i41.tinypic.com/17rd3l.jpg" alt="banner 3"> <img src="http://i40.tinypic.com/4u8ajn.jpg" alt="banner 4"> <img src="http://i42.tinypic.com/30a8l1g.jpg" alt="banner 5"> <img src="http://i39.tinypic.com/259x57a.jpg" alt="banner 6"> <img src="http://i39.tinypic.com/2r6hbv5.jpg" alt="banner 7"> </div> </div>
script
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> <script src="http://static.tumblr.com/wxsnpan/qjsmqsq7r/jquery.slides.min.js"></script> <script> $(function() { $('#slides').slidesjs({ width: 940, height: 528, navigation: { effect: "fade" }, pagination: { effect: "fade" }, effect: { fade: { speed: 400 } } }); }); </script>
is jsfiddle answer questions?
for auto-slide option, change script to
play: { active: true, auto: true, interval: 4000, swap: true, pauseonhover: true, restartdelay: 2500, effect:"fade" }
for pagination developers allow disable option,
pagination: { active: false }
you can find lot of informations script on slidejs website
i hope you.
Comments
Post a Comment