Skip to content
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

Remove and add items #344

Open
levipadre opened this issue Aug 14, 2014 · 1 comment
Open

Remove and add items #344

levipadre opened this issue Aug 14, 2014 · 1 comment

Comments

@levipadre
Copy link

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
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants