webdev, posts by tag: ie7 - LiveJournal (original) (raw)

I have a big web application, written in JS,CSS,XML/XSLT.
Output size of HTML is 1.5Mb, ~700Kb javascript code, ~400Kb CSS code.

When user open new tab (or use Quick-Tab feat.) IE try to generate thumbnail for this page. But page is so big, so IE freeze for 5-15 minutes. It's awfully. Solution of this problem is hiding all content (style.display = 'none' on general wrapper div.), this code was wrote in onblur event of the body element.

Sometimes this solution works, sometimes not.

Actually, the question:
How I can catch tab-changing event? (seems to be eq. with body onblur).

Thanks for advice.
Best regards, Gleb M. Borisov.

Update: Problem partially solved with code below:
( Read more...Collapse )