Side navigation
#71 closed bug (fixed)
Opened July 16, 2006 01:06AM UTC
Closed November 17, 2006 11:58PM UTC
hide/show broken
Reported by: | yehuda | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | |
Component: | ajax | Version: | |
Keywords: | {empty} | Cc: | {empty} |
Blocked by: | Blocking: |
Description
Test case:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html lang="en"> <head> <script src="jquery.js" type="text/javascript"></script> <script type="text/javascript"> $.fn.toggleDown = function() { if(this.css('display') == "none") { this.show("fast") } else { this.hide("fast") } } </script> </head> <body> <a href="#" onclick="$('#hide').toggleDown()">Toggle</a> <div id="hide">Stuff</div> </body> </html>
In earlier versions (130), the stuff inside the hidden div doesn't get restored in IE when show() is called. It does fill up the old amount of space, but the opacity doesn't return to normal.
In later versions (143), Internet Explorer returns "0.nodeType is null or not an object" when hide() or show() is called. It claims it's on line 65, but that seems unlikely.