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

cgjohnson - December 8, 2009 - 19:45

anyone?? Is this a noob question?

#2

tobiassjosten - December 10, 2009 - 10:32

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.

 
 

Drupal is a registered trademark of Dries Buytaert.