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

Posted by ojorus on 08/24/07 05:55

Hi;
I'm having a problem with some links on my website. It just won't work in
Internet Exporer 6! Since quite a lot out there still using IE6, I would
like to fix the problem.

My two HTML-documets are something like this:

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.somelink.com target="_top">My link</a>

When you click the link in IE 6, absolutely nothing happens! The problem is
the target-parameter. If i change it to "_blank" or "_self", the link works,
but I want it to go on top, but that does not happen. target="_parent" does
not work either.

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.

Does anyone having a solution/explaination to this stupid thing?

regards
ojorus

 

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

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