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

Add clone withDataAndEvents option (infiniteSlides) #587

Closed ckng closed 8 years ago

ckng commented 11 years ago

For infiniteSlides, when the slide items are attached to other javascript such as popup, the data and events are not copied. It would be nice to have an option to pass to AnythingSlider to indicate if we want to .clone(withDataAndEvents).

Mottie commented 11 years ago

Hi @ckng!

How exactly are you cloning AnythingSlider? Why can't you use the popup callback function (something like onReveal) to initialize AnythingSlider?

Mottie commented 8 years ago

I'm guessing this issue has been resolved, so I'm going to close it. If you continue to have problems, please feel free to continue the discussion in this thread.