Skip to main content

Bug Tracker

Side navigation

#7013 closed bug (invalid)

Opened September 08, 2010 11:05AM UTC

Closed March 31, 2011 08:18PM UTC

resize event doesn't bind on top window (from frame)

Reported by: yoxigen Owned by:
Priority: low Milestone:
Component: event Version: 1.4.2
Keywords: needsreview Cc:
Blocked by: Blocking:
Description

From within frame/iframe, the following doesn't bind:

$(window.top).bind("resize", function(){ ... });

Without jQuery, it works with the following code:

window.top.onresize = function(){ ... };

Attachments (1)
  • resize.zip (0.8 KB) - added by yoxigen September 08, 2010 11:06AM UTC.

    Example of window.top resize bind failure

Change History (3)

Changed October 15, 2010 02:07AM UTC by snover comment:1

keywords: window.top, frames, iframe, resize, onresize, bindneedsreview
milestone: 1.4.3
priority: → low

Changed October 17, 2010 04:54PM UTC by addyosmani comment:2

status: newopen

Changed March 31, 2011 08:18PM UTC by dmethvin comment:3

resolution: → invalid
status: openclosed

We don't support firing/receiving events across frames, it won't work reliably and has memory leak issues.