TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

what's the code for opening a site in a new window?

Page: 1 Reply
Jul 7th 2002#57094 Report
Member since: May 21st 2002
Posts: 537
I've got links on a site inside an iframe but when you click on the link, it opens the site in the iframe. I want it to open in a new window. How do I do that?
Reply with Quote Reply
Jul 7th 2002#57109 Report
Member since: Jun 30th 2001
Posts: 447
<a href="whatever.html" target="_blank">Link</a> Of course, if you want more control you could use the JavaScript window.open() function, but I think a blank target should suffice.
Reply with Quote Reply
Jul 7th 2002#57124 Report
Member since: May 21st 2002
Posts: 537
oh sweet. so easy. thanks.
Reply with Quote Reply
Jul 8th 2002#57245 Report
Member since: Apr 20th 2002
Posts: 3000
Or if you want to customize the pop up:

[PHP]a[/PHP]

There are other variables for it as well. Check http://www.htmlgoodies.com for them.
Reply with Quote Reply
Jul 8th 2002#57265 Report
Member since: May 21st 2002
Posts: 537
oh damn. I should have checked there before asking.:rolleyes:
Reply with Quote Reply
Page: 1 Back to top
Please login or register above to post in this forum