#6655 closed feature (wontfix)
Position: Allow positioning across iframes
Reported by: | twall | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | ui.position | Version: | 1.8.6 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
$.position fails to properly position when the target element is within an iframe. For instance, attempting to position an element adjacent to the #anchor div below will not work.
<iframe> <html><body> <div id=anchor>hello there</anchor> </body></html> </iframe>
Change History (4)
comment:1 Changed 12 years ago by
Component: | ui.core → ui.position |
---|---|
Summary: | position fails to work on elements within an iframe → Position: Allow positioning across iframes |
Type: | bug → feature |
comment:2 Changed 11 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:3 Changed 11 years ago by
If it's not possible to walk up from iframe's document in all supported browsers couldn't you then provide an "inframe" option?
I would like to be able to use position() to add overlays to the content iframe of tinyMCE.
Note: See
TracTickets for help on using
tickets.
Cross iframe support isn't possible. We could support your specific use case, but it would be a lot of code and would be very inefficient (we'd have to check every iframe to see if it contains the element we're positioning against, since you can't walk up from the iframe's document).