Omnimaga

General Discussion => Technology and Development => Web Programming and Design => Topic started by: Sorunome on April 01, 2012, 05:47:42 am

Title: HTML <iframe> question.
Post by: Sorunome on April 01, 2012, 05:47:42 am
Hey, I got a quick question to <iframe>.
Well, I have something like <iframe src="http://www.blah.com/blubb.html"></iframe>
And now in http://www.blah.com/blubb.html is somewhere something like this: <a href="http://www.example.com">blahblahblah</a>
If I press now the link the other internetpage just opens inside the iframe but I want it to change the hole page. I hope you get what I mean, and please help me! (Or is that only possible with javascript so it is launched in a new tab?) :)
Title: Re: HTML <iframe> question.
Post by: Deep Toaster on April 01, 2012, 09:56:28 am
Add a target="_top" attribute to any <a> tag you want to open in the top (outermost) frame.
Title: Re: HTML <iframe> question.
Post by: Sorunome on April 01, 2012, 02:46:09 pm
ah, cool!