PDA

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


MarkT
08-25-2007, 06: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
08-25-2007, 08:41 PM
with IE, you can use onresizeend event.

GalaxySong
08-28-2007, 04:26 AM
with IE, you can use onresizeend event.
This sounds helpful!

dsonet
10-24-2008, 03: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.