Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

 

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help.

 
Thread Tools
Old 07-11-2006, 07:09 AM   #1
rafe43119
Confirmed User
 
Join Date: Dec 2005
Location: Columbus
Posts: 281
html question

Hi all,
if I want all the links on a page to open in a new window, whats the html code for that? currently, if someone clicks on a link on my site they leave the site to go to whatever they clicked. I'd like to set it up so that when they click something it just opens up in a new window. Thanks in advance for your help
rafe43119 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 07-11-2006, 07:10 AM   #2
gzus
Registered User
 
Join Date: Dec 2003
Location: delaware
Posts: 22
a href="url" target=new
gzus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 07-11-2006, 07:14 AM   #3
smutx
Confirmed User
 
Industry Role:
Join Date: Jan 2004
Location: interwebs
Posts: 1,190
Code:
<a href="http://www.smutx.net" target="_blank">text here</a>
__________________

icq: 236148465
smutx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 07-11-2006, 07:20 AM   #4
rafe43119
Confirmed User
 
Join Date: Dec 2005
Location: Columbus
Posts: 281
Thanks! do I have to enter that code for each individual link or is it something that I can just put at the top of the page and then every link automatically opens in a new window?
rafe43119 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 07-11-2006, 07:22 AM   #5
Fetish Gimp
Confirmed User
 
Industry Role:
Join Date: Feb 2005
Posts: 1,699
Use base target.
__________________
Strapon Seduction - femdom blog | Twitter
Fetish Gimp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 07-11-2006, 07:27 AM   #6
gzus
Registered User
 
Join Date: Dec 2003
Location: delaware
Posts: 22
i've never used that base target.. seems rather simple, and easy to use. rafe, if you have alot of links u want openin in a new window, i'd definatly say go with that base target, well it wouldnt hurt if u only had three links u wanted to open in a new window, but it you just need one link or so, the target tag is the way which i use fequently. its also good for iframes and such if you name your frames/new windows.
__________________
nothin worthy yet
gzus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 07-11-2006, 07:33 AM   #7
rafe43119
Confirmed User
 
Join Date: Dec 2005
Location: Columbus
Posts: 281
Quote:
Originally Posted by Fetish Gimp
Thats a great site, thanks for posting that link. Thats what I was looking for. I appreciate everyones help
rafe43119 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 07-11-2006, 03:44 PM   #8
VicD
ICQ: 304-611-162
 
VicD's Avatar
 
Join Date: Feb 2005
Location: Masterdam
Posts: 13,245
http://www.w3schools.com/
VicD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 07-12-2006, 02:12 AM   #9
Kimo
...
 
Join Date: Jan 2006
Location: Maryland ICQ:87038677
Posts: 11,542
next time just google it
__________________
...
Kimo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
 
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.