0

I call the following on a bunch of objects when the current slide leaves my jcarousel container:

$.fn.removeAnimation = function() {
    var o = $(this);
    o.stop(true, true).removeAttr('style');
}

$(this) refers to a bunch of objects which are present on the slide such as h2, h3, p, img etc.

Oddly though if I keep cycling back and forth on the slides the styling doesn;t get removed from some of the elements. It is really random too on which elements are affected here.

Anyone know why this is?

Rick Donohoe
  • 7,081
  • 6
  • 26
  • 38

0 Answers0