iosscripts / iosslider

iosslider is a jQuery plugin which allows you to integrate a customizable, cross-browser content slider into your web presence. Designed for use as a content slider, website banner, or image gallery.
http://iosscripts.com/iosslider
432 stars 103 forks source link

Remove and add items #344

Open levipadre opened 10 years ago

levipadre commented 10 years ago

Hi,

Is it possible to remove and after add some items to the same place (like a filter) using the removeSlide and addSlide methods? For example the filter is 3 links (ID: group1, group2, group3). And every item has a class (group1, group2 or group3). If I click a filter link, the other items disappear. If I click the other filter link, the previous items come back, and the others disappear. I know the items positions, which are ID's, e.g. item1, item2, ...

Thanks

marcwhitbread commented 10 years ago

I recommend using jQuery to add/remove the slide elements you need and then simply call the update method to recalibrate based on the new slider contents. That way, you can have full control to do whatever you need.