开发者

How do I get this jQuery parallax Slider to do infinite looping?

开发者 https://www.devze.com 2023-03-08 12:40 出处:网络
I\'m using this jquery parallax slider that works brilliantly. Though it\'s leaving me with little wiggle room to edit any of what I\'m looking to do.

I'm using this jquery parallax slider that works brilliantly. Though it's leaving me with little wiggle room to edit any of what I'm looking to do.

I think this is the simplest question: When the slides reach the end how do I get it to swing b开发者_开发知识库ack to slide 1 like this great example here.

So far this is the greatest example of a auto scrolling parallax slide I have. Anyone with a better demo please help. I have been at this for days.


Set o.circular to false and it won't keep looping around

$.fn.parallaxSlider.defaults = {
    auto            : 0,
    speed           : 1000,
    easing          : 'jswing',
    easingBg        : 'jswing',
    circular        : false,
    thumbRotation   : true
};
0

精彩评论

暂无评论...
验证码 换一张
取 消