Edu Ruiz
Edu Ruiz

Reputation: 1877

Issue using flexslider with sync and startAt

I worked with 2 FlexSliders on sync and everything goes fine, than I put the a 'startAt' parameter and the slider stop to work after first change, no alerts on FF debugger, the Nav slider simply stop and the other still working fine.

The JS code is:

$(window).load(function() {
// The slider being synced must be initialized first
  $('.carousel').flexslider({
  animation: "slide",
  controlNav: false,
  animationLoop: true,
  slideshow: false,
  itemWidth: 112,
  itemMargin: 5,
  maxItems: 4,
  startAt: 2,
  asNavFor: '.flexslider'
  });

$('.flexslider').flexslider({
  animation: "slide",
  controlNav: false,
  animationLoop: true,
  slideshow: false,
  startAt: 2,
  maxItems: 4,
  sync: ".carousel"
  });
});

And here is the "almost" [working page].1 Many thanks!

Upvotes: 0

Views: 3463

Answers (2)

Dmitri
Dmitri

Reputation: 2467

For these out there who has this problem - just update flexslider (download latest version) :)

Upvotes: 0

Lisa Liaz
Lisa Liaz

Reputation: 31

Solution found :)

I had the same problem, flexslider worked fine on firefox, no error, but stayed stuck after the first animation.

I finally solved it by changing the animationDuration property in the slider. If it is set to 0-> it doens't work set to 1 or any other value-> it works again.

No idea why, but finally it works ! hope it will help people around.

Lisa.

Upvotes: 3

Related Questions