Classic-Castle.com


The source for all your LEGO Castle needs!

how to make a link open in a new window?

Discussion of photography, editing and publishing techniques

how to make a link open in a new window?

Postby Shurtugal » Sun Nov 05, 2006 7:02 am

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

[url=wwwlinkcom]words[/url]

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

MOCpages!

Eka ai fricai un Shur'tugal! I am a Rider and a friend!
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

Postby stuifzand » Sun Nov 05, 2006 8:18 am

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 Lowlug!
User avatar
stuifzand
Archer
 
Posts: 369
Joined: Mon Sep 15, 2003 11:09 am
Location: Kingdom of The Netherlands

Postby Shurtugal » Sun Nov 05, 2006 9:25 pm

OK, cool thanks!
~Andrew C.

MOCpages!

Eka ai fricai un Shur'tugal! I am a Rider and a friend!
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


Return to Publishing

Who is online

Users browsing this forum: No registered users and 1 guest

cron