You are here: Re: a target=_top in iframes « HTML « IT news, forums, messages
Re: a target=_top in iframes

Posted by John Hosking on 08/24/07 07:24

ojorus wrote:
> Hi;
> I'm having a problem with some links on my website.
>
> My two HTML-documets are something like this:

But only something *like* it. Can you provide a URL to the *real* code?

>
> index.html:
> <iframe src="mypage.php" width="100%" height="100%" frameborder="0"
> marginheight="0" marginwidth="0" scrolling="yes" name="main"></iframe>
>
> mypage.php:
> <a href=http://www.example.com target="_top">My link</a>

What happens when you add quotation marks around the URL?
<a href="http://www.example.com" target="_top">My link</a>

>
> I found another website with the exactly same problem:
> http://www.filmweb.no/oslokino/kinoprogram/. If you click on "vis
> forestillinger" or "omtale" in IE6, nothing happens.
> It works perfectly in other browsers (firefox, opera, and also IE7), but not
> in IE6.

Well, the link you provided works in IE6 for me, and you didn't provide
a link to your page, so if the problem isn't the quotes then I don't
know how I can help you.


--
John
Pondering the value of the UIP: http://blinkynet.net/comp/uip5.html

 

Navigation:

[Reply to this 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

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