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?