Well, after some more fiddling... I actually _did_ manage to get a Firefox-like resize behavior in IE6... however, it may not be the MOST reliable (what in IE6 _is_ most reliable??).
--- snippet --- <html> <head> <title></title> <script type="text/javascript" src="/jquery.js"></script> <script type="text/javascript"> $(window).resize(function() { StartResize(); }); // ################################################# function WindowResized() { $('body').append("Window has been resized! <br/>"); } // ################################################# function StartResize() { // if(window.stop_timer) { return; } // window.stop_timer = false; if(window.start_timer) { clearTimeout(window.start_timer); window.start_timer = null; } window.start_timer = setTimeout(WindowResized, 400); } // ################################################# function Stop() { // window.stop_timer = true; clearTimeout(window.start_timer); } </script> </head> <body> <input type="button" onclick="StartResize();" value="Start"> <input type="button" onclick="Stop();" value="Stop"><br><br> </body> </html> On May 3, 10:18 am, MikeR <[EMAIL PROTECTED]> wrote: > Thanks, Brandom! I've tried a setTimeout-based solution, but haven't > had too terribly much luck with that either. Yes, it is klunky.. which > is why I'm posting here :). > > Anybody else have any ideas? > > On May 3, 10:13 am, "Brandon Aaron" <[EMAIL PROTECTED]> wrote: > > > That is different. Most people prefer IE's functionality in this case. > > > You could possibly use setTimeout along with a flag that if it hasn't > > been X milliseconds, don't run the code in the resize event. Kinda > > klunky but the only thing I can think of right now. > > > -- > > Brandon Aaron > > > On 5/3/07, MikeR <[EMAIL PROTECTED]> wrote: > > > > I'm just wondering if anyone knows of a fix for IE6's onresize... > > > > Example: > > > > $(document).resize(function() { > > > $('body').append('Resized<br/>'); > > > } > > > > That will execute several times as you are resizing the browser. I'm > > > looking for Firefox-like functionality.. where it fires the event one > > > time when you have finished resizing. Has anyone had any luck? > > > > Thanks in advance.