This article mainly introduces the solution that the layer will blink once when calling the jquery slip effect, the need friend can refer to the following
Problem phenomenon as the title shows, the layer will blink when you invoke jquery to slide out of effect. Find a lot of online solution copy, said to add the following: code is as follows: <! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd "> The problem is that the title header is now html4.0, and if you change to the above case, the page will be out of order." Finally found a master to write Dongdong, rewrite jquery's slide out effect. Master's link address is as follows: http://aqr199.myweb.hinet.net/jquery_slide_iebug.htm code as follows: code: var b1 = new Slide _fix ($ (' #Div3 ')); $ (' #Button5 '). Click (function () {b1.close ();}); /Receive $ (' #Button6 '). Click (function () {B1.open ();}); / function Slide_fix (b) { var h = b.height (); var step = 600; var time = 13; & nbsp This.open = function () { timerate (step,function (c,r) { var h1 = h*r; b.height (H1); if (c==1) { B.show ();} }); } this.close = function () { timerate (step,function (c,r) { var h1 = h * (1-r); B.height (H1); if (r==1) {b.hide ();} }); } function timerate (STEP,FN) { var t = Now (); var count = 1; var Timeid = setinterval (function () { var T1 = Now (); var rate = ((t1-t) >step)? 1: (T1-T)/step; fn (count,rate); if (rate==1) {clearinterval (Timeid);} count++; },time); } function now () { return (new Date). GetTime (); } }&NB Sp