how to make a link open in a new window?

Discussion of photography, editing and publishing techniques
Post Reply
User avatar
Shurtugal
Bailiff
Posts: 340
Joined: Thu May 25, 2006 11:26 pm
Location: On the Albertan Prairies, listening to some slow country music
Contact:

how to make a link open in a new window?

Post by Shurtugal »

Hey all!

I was wondering how to make a link in html or BBcode that will open in a new window. the way I know how to it now is

words

I have no experience whatsoever with this kind of stuff..... so thanks!
~Andrew C.

[url=http://www.mocpages.com/home.php]MOCpages![/url]

Eka ai fricai un Shur'tugal! I am a Rider and a friend!
User avatar
stuifzand
Archer
Posts: 369
Joined: Mon Sep 15, 2003 11:09 am
Location: Kingdom of The Netherlands
Contact:

Post by stuifzand »

for html the code is:

Code: Select all

<a href="http://www.thisismysite.com" target="_blank">Here's the link</a>
The target="_blank" part does the trick here. If you want it to open in the same window you can use _parent in stead of _blank

In most phpbb forums links in bbcode do automatically open in a new window, but I noticed sometimes it doesn't work. I don't know why though.
If you're a Dutch legofan, visit [url=http://www.lowlug.nl]Lowlug[/url]!
User avatar
Shurtugal
Bailiff
Posts: 340
Joined: Thu May 25, 2006 11:26 pm
Location: On the Albertan Prairies, listening to some slow country music
Contact:

Post by Shurtugal »

OK, cool thanks!
~Andrew C.

[url=http://www.mocpages.com/home.php]MOCpages![/url]

Eka ai fricai un Shur'tugal! I am a Rider and a friend!
Post Reply