Bug Tracker

Modify

Ticket #5462 (closed bug: invalid)

Opened 4 years ago

Last modified 4 years ago

$(".selector").resize(function(){...}); no work in FF3.0.5

Reported by: chungnn Owned by:
Priority: major Milestone: 1.4
Component: core Version: 1.3.2
Keywords: resize Cc:
Blocking: Blocked by:

Description

function balanceMainDivSize() {

if ($("#d1").height() > $("#d2").height())

$("#d2").css("height", $("#d1").height());

else

$("#d1").css("height", $("#d2").height());

}

$("#d2").resize(function() {

balanceMainDivSize();

});

Change History

comment:1 Changed 4 years ago by john

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

The resize event only fires on the window, it doesn't fire on individual elements (since the event is a response to the user taking an action, like resizing the browser window).

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.