[jQuery] IE crash
[jQuery] IE crash
I am getting random crashes on IE, that are not
consistently reproducible, using jQuery to "window
shade" a box. I can usually get it to crash by opening
and closing boxes and scrolling the window for a
couple minutes. These crashes did not happen on an
older version of jQuery as far as I can remember. I am
getting no Javascript errors. The code I am working
with is:
$("div.secTitleContainer")
.css("padding-left","20px")
.prepend('<a href="javascript:void(0);"
class="closeBoxButton"></a>')
.find("a")
.toggle(function(){
this.blur();
$(this).addClass("openBoxButton").removeClass("closeBoxButton");
$("../../../../div:last",this).slideUp("fast",{onComplete:function(){
this.style.height = 'auto';
}});
},function(){
this.blur();
$(this).addClass("closeBoxButton").removeClass("openBoxButton");
$("../../../../div:last",this).slideDown("fast",{onComplete:function(){
this.style.height = 'auto';
}});
});
Thank you for any help provided.
- Christian Gove
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/