Modify ↓
Ticket #71 (closed bug: fixed)
hide/show broken
| Reported by: | yehuda | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | |
| Component: | ajax | Version: | |
| Keywords: | {empty} | Cc: | {empty} |
| Blocking: | Blocked by: |
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.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.
