开发者

jcycle prev/next

开发者 https://www.devze.com 2023-03-12 20:15 出处:网络
So I\'m using the jcycle plugin and I\'ve got the pager working the way I want. I\'ve also got the prev/next implemented and that\'s working, but what I need for those to do is to change the active st

So I'm using the jcycle plugin and I've got the pager working the way I want. I've also got the prev/next implemented and that's working, but what I need for those to do is to change the active state of the pager items. So if I click on the next arrow, the "on" state o开发者_开发知识库f the pager needs to match the current slide and the same idea with the prev button. Unfortunately I can't share a link. I hope my dilemma makes sense.

Thanks


Does this example help? In my experience once you've defined pager elements with jcycle it adds an "activeSlide" class: http://jquery.malsup.com/cycle/pager2.html

Update:

Based on your comment, it seems like you're trying to do this: http://jquery.malsup.com/cycle/pager11.html

0

精彩评论

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