Hi Mike, I used the old machine visit your site, and it still consume CPU 100% in 1-2 seconds.
Anyway, I want to let it go, as there do not have lots of people use this kind of old machine nowadays. When using a new machine, blockUI is fast enough. Thanks, Jiming On Jul 18, 7:50 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote: > Hi Jiming, > > Thanks for the feedback. I forgot to check out your site last night > and now I'm behind my over-aggressive firewall again. Do you > experience the CPU spike when viewing my demo > pages?http://malsup.com/jquery/block/ > > Mike > > On 7/18/07, Jiming <[EMAIL PROTECTED]> wrote: > > > > > Hi Mike, > > > I tried both 1 and 0. And which makes no difference. I suppose that > > the main calculation work is in DOM operation. > > > Thanks, > > Jiming > > > On Jul 18, 12:01 am, "Mike Alsup" <[EMAIL PROTECTED]> wrote: > > > Hmm, my corporate firewall won't let me access that site. > > > > Something you can try is to override the opacity by setting the > > > overlayCSS.opacity value to 0 or 1. For example: > > > > $.blockUI.defaults.overlayCSS.opacity = 0; > > > - or - > > > $.blockUI.defaults.overlayCSS.opacity = 1; > > > > This will tell you if it is the opacity calcs and rendering that are > > > causing the spike. If so, and you're concerned about those older less > > > powerful machines then you'll need to decide if you can live with a > > > fully opaque or fully transparent solution. Or if you need to find a > > > different solution altogether. > > > > Let me know if you see any difference with these settings. > > > > Mike