Add or remove slides using jQuery FlexSlider

Diogo Cardoso picture Diogo Cardoso · Jan 19, 2012 · Viewed 13.8k times · Source

Is it possible to add or remove slides in runtime using FlexSlider?

Answer

Diogo Cardoso picture Diogo Cardoso · Jun 20, 2012

The new version of FlexSlider 2 already supports this methods.

slider.addSlide(obj, pos) accepts two parameters, a string/jQuery object and an index. slider.removeSlide(obj) accepts one parameter, either an object to be removed, or an index.