[jQuery] Re: $(window).bind('resize', fn) not working in IE

2009-01-14 Thread sam
I believe I found the bug. Seems like that if you set window.onresize in IE before the document is completely loaded, it won't work. Whatever.

[jQuery] Re: $(window).bind('resize', fn) not working in IE

2009-01-14 Thread sam
TI'm injecting jQuery into any webpage (via a bookmarklet). This works fine, but for some strange reason $(window).bind("resize") doesn't work with IE. No errors, just doesn't fire the event. To see this, execute this code while on any webpage (using Firebug Javascript Console): //load jQuery

[jQuery] Re: $(window).bind('resize', fn) not working in IE

2009-01-13 Thread Dave Methvin
Do you have a simple test case? Resize works for me in IE.

[jQuery] Re: $(window).bind('resize', fn) not working in IE

2009-01-13 Thread Kean
try $(window).resize(fn); On Jan 13, 3:54 pm, sam wrote: > Can anyone verify that $(window).bind('resize', fn) doesn't work in > IE?  $(window).bind('scroll', fn) works fine for me, but not resize. > > I'm using 1.2.6. > > Thanks.