Bug Tracker

Opened 13 years ago

Closed 13 years ago

#7013 closed bug (invalid)

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 (794 bytes) - added by yoxigen 13 years ago.
Example of window.top resize bind failure

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by yoxigen

Attachment: resize.zip added

Example of window.top resize bind failure

comment:1 Changed 13 years ago by snover

Keywords: needsreview added; window.top frames iframe resize onresize bind removed
Milestone: 1.4.3
Priority: low

comment:2 Changed 13 years ago by addyosmani

Status: newopen

comment:3 Changed 13 years ago by dmethvin

Resolution: invalid
Status: openclosed

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

Note: See TracTickets for help on using tickets.