I've discovered that http://sorgalla.com/jcarousel/ will hang IE7 (but
not IE8) when the this.funcResize handler (bound to window.onresize)
is called.

The setup for this is in init around line 226:
$(window).unbind('resize', this.funcResize).bind('resize',
this.funcResize);

What happens is that IE7 fires off onresize every time a resize occurs
- even when you are in the middle of servicing a resize event.  The
loop goes on and results in a frozen browser with ever increasing
resource consumption.  Something outside of jCarousel (jQuery UI
"tabs" in my case to be specific) could cause the resize event to
occur.

I tried to employ the technique mentioned here - remove event handling
for onresize then add it back when it's done:
http://remysharp.com/2008/05/15/windowonresize-hangs-ie6-and-ie7/#comment-93255

...this didn't work for me though.  Admittedly, I didn't work that
hard at it.  In the end, I've disabled the jCarousel resizing smarts
because I didn't need it for my purposes.  But a permanent fix would
be nice.

At least that is what I think is going on - does anyone have a
differing point of view?


Reply via email to