Author Topic: HTML <iframe> question.  (Read 2521 times)

0 Members and 1 Guest are viewing this topic.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
HTML <iframe> question.
« 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?) :)

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: HTML <iframe> question.
« Reply #1 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.




Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: HTML <iframe> question.
« Reply #2 on: April 01, 2012, 02:46:09 pm »
ah, cool!

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!