Skip to main content

Bug Tracker

Side navigation

#5462 closed bug (invalid)

Opened November 06, 2009 10:19AM UTC

Closed November 07, 2009 02:32PM UTC

$(".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:
Blocked by: Blocking:
Description

function balanceMainDivSize() {

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

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

else

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

}

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

balanceMainDivSize();

});

Attachments (0)
Change History (1)

Changed November 07, 2009 02:32PM UTC by john comment:1

resolution: → invalid
status: newclosed

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).