Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Adding new frames to synced/asNavFor sliders #376

Closed
CurtisTimmothy opened this Issue Oct 17, 2012 · 3 comments

Comments

Projects
None yet
4 participants

Is there a way to refresh the sync/asNavFor between two sliders?

I have two synced sliders (as per your 'Slider w/thumbnail slider' example) inside of a modal that are populated via ajax and initialised before the modal is revealed and this works perfectly.

However, if I replace all of the slides from both (via addSlide and removeSlide), two things happen.

  1. Both sliders still work, and the sync is working, but the 'asNavFor' stops working.
    Clicking on a slide in the slider works and the carousel does follow it like it should, but clicking on a slide in the carousel does nothing.
  2. If the last current slide wasn't index 0, they both seem to go a little bit crazy and jump forward somewhat, sometimes even losing the active slide completely.

zapnap commented May 1, 2013

+1 we seem to be having the same issue...

@zapnap zapnap added a commit to zapnap/FlexSlider that referenced this issue May 1, 2013

@zapnap zapnap Delegate click event for asNavFor / Sync'd sliders; Fixes #376 a644e0d

+1, can’t click added slides in the carousel

The above fix works ( although we’re using slider.on("click", slider.vars.selector, function(e)), but apparently not with “fade” animation, it’s fine with “slide”.

@jeffikus jeffikus closed this Apr 1, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment