Need some quick html help

GEC: Discuss gaming, computers and electronics and venture into the bizarre world of STGODs.

Moderator: Thanas

Post Reply
User avatar
Superman
Pink Foamin' at the Mouth
Posts: 9690
Joined: 2002-12-16 12:29am
Location: Metropolis

Need some quick html help

Post by Superman »

When making a link, I know the <A HREF=">site</A> code. What I don't know is how to get it so the site will open in a new browser window. Anyone know?
Image
User avatar
phongn
Rebel Leader
Posts: 18487
Joined: 2002-07-03 11:11pm

Post by phongn »

Code: Select all

<a href="foo" target="_new">bar</a>
User avatar
Exonerate
Sith Marauder
Posts: 4454
Joined: 2002-10-29 07:19pm
Location: DC Metro Area

Post by Exonerate »

Isn't it

Code: Select all

target="_blank"
? Or does _new also work.

BoTM, MM, HAB, JL
User avatar
Dalton
For Those About to Rock We Salute You
For Those About to Rock We Salute You
Posts: 22637
Joined: 2002-07-03 06:16pm
Location: New York, the Fuck You State
Contact:

Post by Dalton »

Either or, I think.
Image
Image
To Absent Friends
Dalton | Admin Smash | Knight of the Order of SDN

"y = mx + bro" - Surlethe
"You try THAT shit again, kid, and I will mod you. I will
mod you so hard, you'll wish I were Dalton." - Lagmonster

May the way of the Hero lead to the Triforce.
WyrdNyrd
Jedi Knight
Posts: 693
Joined: 2005-02-01 05:02am

Post by WyrdNyrd »

You should use "_blank". "_new" will create a new window called "_new", and any subsequent links pointing to "_new" will re-use the same window (which may be what you want, for some circumstances). Whereas "_blank" will always create a new window.

The spec is here.
User avatar
phongn
Rebel Leader
Posts: 18487
Joined: 2002-07-03 11:11pm

Post by phongn »

Mea culpa, WyrdNyrd is correct.
Post Reply