iosscripts/iosslider

Remove and add items

Opened this issue · 1 comments

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

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.