![]() |
![]() |
![]() |
||||
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. |
|
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help. |
|
Thread Tools |
![]() |
#1 |
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 ![]() |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#2 |
Registered User
Join Date: Dec 2003
Location: delaware
Posts: 22
|
a href="url" target=new
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#3 |
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 |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#4 |
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?
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Industry Role:
Join Date: Feb 2005
Posts: 1,699
|
Use base target.
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#6 |
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 |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#7 | |
Confirmed User
Join Date: Dec 2005
Location: Columbus
Posts: 281
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#8 |
ICQ: 304-611-162
Join Date: Feb 2005
Location: Masterdam
Posts: 13,245
|
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#9 |
...
Join Date: Jan 2006
Location: Maryland ICQ:87038677
Posts: 11,542
|
next time just google it
__________________
... |
![]() |
![]() ![]() ![]() ![]() |