Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Anthony Sporetta
October 7, 2006, 4:35 pm
rate this thread
I have a page which has an iframe, containing an external site which I have
no control over.
When someone clicks one of their links inside the iframe, it currently opens
that link also inside the iframe.
Any way to make it open the link in a new window?
base target doesn't work, as the alien site seems to take priority and open
links however *it* is configured to.
Re: Make links inside alien iframe open in new window?
Do you have the site's permission to do that?
Yep. You could work around that by proxying the iframe's content
through your own server, and using mod_publisher to insert a
<base target> or target attributes in the iframe's contents.
Application Development with Apache - the Apache Modules Book