-
Notifications
You must be signed in to change notification settings - Fork 380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inifinite slides with change by multiple? #471
Comments
Hi bghouse! Yeah it's an issue with the code. The reason is wraps is because when any number greater than one is added to the last slide number, it resets it back to one. So instead of wrapping it rewinds. I'll try to look at the code soon and see if I can fix it. |
Thanks, that would be super! |
Hi Mottie, |
Oh sorry, I haven't had time to look into this yet =(. I'm looking at it now and it won't be a simple fix. I might end up cloning more slides and adding them to the beginning. Or, completely changing how AnythingSlider handles switching between panels. It'll take some time to figure it out. Honestly, because of my limited time lately, maybe you should check out jCarousel (circular carousel). |
No worries, I currently just have it advancing by 1. Since I'm already using another instance of Anything slider on the page, I'd hate to have to integrate yet another jquery script, so I just stick with the single advance for now. |
So, I put on my thinking cap for this... and I'm not sure I like where it is heading. If you can understand my crappy diagram below, you'll see than in order to have 4 panels, set with So
One of the main things that I don't like, that these diagrams revealed, is that most of the time the user will be interacting with a clone, and not the original panel. This wouldn't be a problem with images; but if the slider contained forms, video or any other interactive elements, nothing would work as expected. So, I'll have to put on my thinking cap and try to figure out another method of doing this. Ultimately, if I ever have time, I'd like to completely get rid of cloned panels and just animate the panels, but that changes the "feel" of AnythingSliders.... I guess we'll just have to see :P |
I'm trying to be a carousel to display manufacturer logos. I've set these options:
showMultiple : 4
changeBy: 4
infiniteSlides: true
It is not wrapping. When it hits the end, it's rewinding instead of wrapping.
I can see in Firebug that it is cloning panels.
If I put the changeBy back to 1 - it wraps properly. But any number greater than 1 stops the wrapping from happening.
You can see on my testing site at fsbdev.xigko.com
Is this a limitation in the code?
The text was updated successfully, but these errors were encountered: