> > I've found that rapidly changing the window size causes IE6 & IE7 to > > hang > > - I guess because too many events are being fired for IE to cope? >
Exactly. Try using a setTimeout so that the resize only fires every 100ms or so, you can vary it depending on how fluid you want the animation vs how much CPU your code will eat. Let's see... I know it's been discussed on this list before... ...[ search ]...Aha: http://groups.google.com/group/jquery-en/browse_thread/thread/4a00d513c63f5c00 http://groups.google.com/group/jquery-en/browse_thread/thread/3308d5cb71c77456 You can see how I've implemented it in my (beta) Caption Plugin here: http://code.doublerebel.com/jQuery/jquery.caption.beta.js HTH Charles