Bug Tracker

Ticket #3469 (closed bug: invalid)

Opened 6 years ago

Last modified 3 years ago

can't bind resize event in Mozilla

Reported by: fmatuszewski Owned by: flesler
Priority: major Milestone: 1.3
Component: unfiled Version: 1.2.6
Keywords: Cc:
Blocking: Blocked by:

Description

<!DOCTYPE HTML PUBLIC "-W3CDTD HTML 4.01EN" " http://www.w3.org/TR/html4/strict.dtd"> <html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <script src=" http://www.google.com/jsapi"></script>

<script>google.load("jquery", "1.2.6")</script>

<script>

$(document).ready(function(){

$('div').bind('resize',function(){$(this).text('width: '+$(this).width());})

})

</script>

</head> <body>

<div style="text-align:center;height:100px;background-color:red"></div>

</body>

</html>

Change History

comment:1 Changed 5 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

Firefox only supports the resize event on the window object.

Note: See TracTickets for help on using tickets.