How to set target
cgjohnson - July 22, 2009 - 14:45
| Project: | Iframe |
| Version: | 6.x-1.3 |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Thanks for this plug in. I'd like to use this within a panel or similar, and set the target of the iframe field to be in another pane, next to the pane the node with iFrame link is in. What's the best way to do this?

#1
anyone?? Is this a noob question?
#2
The target attribute is set on links and the links are found within the iframed content. Therefor you need to manipulate the source and add target to the links there.
Failing that, perhaps something could be done in the lines of my recent patch in #360549: Auto-Detect iframe height based on target url height. I added a simple proxy script which could be rewritten to modify the links in the source document and set a target attribute to them.