Bug Tracker

Opened 14 years ago

Closed 14 years ago

#71 closed bug (fixed)

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.

Change History (2)

comment:1 Changed 14 years ago by yehuda

Resolution: duplicate
Status: newclosed

comment:2 Changed 14 years ago by john

Component: ajax
Priority: blocker
Resolution: fixed
Status: newclosed
Summary: {empty}hide/show broken
Type: bug
Note: See TracTickets for help on using tickets.