Log in

View Full Version : opening link in a new window??? How


glo
03-23-2004, 02:11 AM
I have some vB links that I would like to open in a new window.

I have found this code below:

To get a link to open in a new browser window, what you do is add the target="_blank" attribute to your link tag, like this:

<A HREF="http://www.pageresource.com/linkus.htm" target="_blank">
Link to us!</A>

But since i am adding this target="_blank" attribute to the templates, its not actioning.

What else can i try?

trafix
03-23-2004, 02:15 AM
It depends on what links you want opened in a new browser ..... basicly this is a template issue

Zachery
03-23-2004, 02:21 AM
It depends on what links you want opened in a new browser ..... basicly this is a template issue
<a href="http://www.pageresource.com/linkus.htm" target="_blank">
Link to us!</a>

Lower case for XHTML validity ;)

whats the problem? that will open a link in a new window.

glo
03-23-2004, 11:34 AM
got it all sorted now, i was adjusting a similar template and thats why i couldnt get it to work!