Tuesday, January 15, 2013

Jquery Slideup Jerking Effect In IE9

This website has code to help get rid of the jerking effect on Jquery SlideUp in IE9: http://siderite.blogspot.com/2009/08/jquery-slideup-flickers-in-internet.html

You just add this code after you include your Jquery library:

(function(){
// Define overriding method.
jQuery.fx.prototype.hide = function(){

// Remember where we started, so that we can go back to it later
this.options.orig[this.prop] = jQuery.style( this.elem, this.prop );
this.options.hide = true;

// Begin the animation
this.custom(this.cur(), 1);
}
})();

No comments:

Post a Comment