CSS-Tricks / AnythingSlider

A jQuery Slider plugin for anything.
http://css-tricks.github.io/AnythingSlider/
GNU Lesser General Public License v3.0
1.15k stars 380 forks source link

horz slider rewinding instead of infinite #572

Open avprod1 opened 11 years ago

avprod1 commented 11 years ago

I am using AnythingSlider for a series of buttons. I expect that at the end of the list, the first button will be appended and the forward button will continue to move to the right. Instead it seems to rewind to the beginning of the list. Can anyone see my error? http://jsfiddle.net/avprod1/sygnN/3/

avprod1 commented 11 years ago

I really need some help on this one. Thanks!

JamyGolden commented 11 years ago

It's the changeBy property's fault. If you remove that it should work, however it will then only change by 1. I'll look into adding support for the seamless transition.

Mottie commented 11 years ago

Hi @avprod1!

Yeah, it's as @JamyGolden says, it's the changeBy option's fault. Making it work properly when that value is more than one is quite troublesome because it requires more and more copies of the panels. I'm literally at the point of rewriting the entire plugin from scratch to just move panels around and not clone anything... when I have the time.

avprod1 commented 11 years ago

Thank you for writing this. We're using it on United's Kiosk at the airports. We're in beta now. We're forced by IOTA standards to keep using IE6. We probably spent half of our development trying to fix IE6 issues. In several locations we had to give up on slider and roll our own "scroll by" fixed amount. Also wrote function to display disabled button at beginning and end of scroll.

On Friday, October 4, 2013, Rob G wrote:

Hi @avprod1 https://github.com/avprod1!

Yeah, it's as Jamy says, it's the changeBy option's fault. Making it work properly when that value is more than one is quite troublesome because it requires more and more copies of the panels. I'm literally at the point of rewriting the entire plugin from scratch to just move panels around and not clone anything... when I have the time.

— Reply to this email directly or view it on GitHubhttps://github.com/CSS-Tricks/AnythingSlider/issues/572#issuecomment-25709111 .