Greenguy's Board


Go Back   Greenguy's Board > Newbie Questions
Register FAQ Calendar Today's Posts

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 2008-02-24, 01:33 PM   #16
Simon
That which does not kill us, will try, try again.
 
Simon's Avatar
 
Join Date: Aug 2003
Location: Conch Republic
Posts: 5,150
Send a message via ICQ to Simon Send a message via AIM to Simon Send a message via Yahoo to Simon
Close. But not exactly.

The four "valid" values for the target attribute are _blank, _parent, _self and _top.

Aside from those four, which do very specific things, like opening a new, blank window for example, you can also put "new" or most anything else you want in there and you'll get a new window too in most cases.

The caveat is that what really happens is that you actually create a new window AND name it "new" (or whatever word you put in the target attribute's value).

Of course if you use "new" all the time, it's possible the surfer may already have a new window named "new" opened and what will happen is that the link will now load the contents into that already opened window since you've told it that that's the target you want it to use.

If you use "_blank" you'll always get a new window.

And don't forget that leading underscore character or you'll just be creating a new page AND naming it "blank" similar to what happens if you use "new" as the target.

HTH
__________________
"If you're happy and you know it, think again." -- Guru Pitka
Simon is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:21 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc