malsup / cycle2

2nd gen cycling
899 stars 236 forks source link

Adding/Removing Slides from carousel #647

Open vejitassj8 opened 9 years ago

vejitassj8 commented 9 years ago

Hey, I'm using the cycle2 script with fx carousel, and it has some issues when removing or adding a slide. It works fine if I switch to scrollHorz, but I need to show 5 slides and hop 5 slides, so using scrollHorz is not possible. Removing a slide has only a minor issue, it leaves an empty space where the slide used to be. Adding a slide however, does something a bit crazy, it adds the slides outside of the cycle-carousel-wrap therefore positioning them over the carousel and not inside to loop trough them.

Here is a sample running the add slide function and it's behavior. http://codepen.io/anon/pen/ramQrX

Any suggestion on how to fix this issue ? Thanks

cressman commented 9 years ago

Probably duplicate of #281