PDA

View Full Version : FYI - trick to improve IE's animations and resize



MarkT
25 Aug 2007, 3:51 AM
If you don't have a killer CPU and video card, IE can slow to a crawl when you resize the window or do animation to a layout. Ext has a 50ms buffer on the Window Resize events, but that isn't always enough when your page is very complex.

I use IE's little known, and seldom used, screen.updateInterval Property (http://msdn2.microsoft.com/en-us/library/ms534707.aspx). I've found that a setting of 60ms is low enough that the page is responsive, and high enough to keep the system from getting overloaded. :)

richard.qin
25 Aug 2007, 5:41 PM
with IE, you can use onresizeend event.

GalaxySong
28 Aug 2007, 1:26 AM
with IE, you can use onresizeend event.
This sounds helpful!

dsonet
24 Oct 2008, 12:04 AM
from MSDN:
Fires when the user finishes changing the dimensions of the object in a control selection.

Only content editable objects can be included in a control selection. You can make objects content editable by setting the contentEditable property to true or by placing the parent document in design mode.