Paul's Programming Notes     Archive     Feed     Github

Jquery Slideup Jerking Effect In IE9

This website has code to help get rid of the jerking effect on Jquery SlideUp in IE9: https://siderite.dev/blog/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);
}
})();