This is an IE oddity - not a jQuery bug. But it is so strange that I'm mentioning it here just in case it spurs some though...
In IE7, adding either of these commands will trigger an alert *on page load*... window.onresize = function () { alert( 'window.onresize()' ); }; $(window).resize( function () { alert( 'window.bind("resize")' ); }); HOWEVER, if you add a document.ready() block to the page, the resize events are NOT triggered... window.onresize = function () { alert( 'window.onresize' ); }; $(window).resize( function () { alert( 'window.resize()' ); }); $(document).ready( function () { alert( 'document.ready()' ); }); This cause some inconsistencies with a plugin I'm using that binds to window.resize, until I figured out the info above. I don't know if document.ready() is deliberately interferring with IE's default functionality, but whatever the reason, it is *a good thing* because it makes it consistent with all other browsers. /Kevin
-- You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-...@googlegroups.com. To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en.