Reply to Re: Make links inside alien iframe open in new window?

Your name:

Reply:


Posted by Nick Kew on 10/07/06 18:48

In article <CHQVg.102526$PD.2153@fe2.news.blueyonder.co.uk>,
"Anthony Sporetta" <anon@anon.com> writes:
> Hi all
>
> I have a page which has an iframe, containing an external site which I have
> no control over.

Do you have the site's permission to do that?

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

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.

--
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.prenhallprofessional.com/title/0132409674

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация