Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 25, 2012, 12:10:48 PM

Pages: [1]   Go Down
  Print  
Author Topic: how do I make my links automatically open in a new window?  (Read 277 times)
benleo2
Trekkie
**
Offline Offline

Posts: 10


WWW
« on: April 16, 2003, 05:49:41 PM »

I feel dumb for asking this...because it seems to be common knowledge among webmasters....but Im askin anyways

I want to have my pictures open in new windows
Logged
Ed
Berserker Poster
*****
Offline Offline

Posts: 5208



WWW
« Reply #1 on: April 16, 2003, 06:39:30 PM »

In the <A HREF>  put in  target="new"

eg:
Code:

<a href="http://www.jokeawhenever.com
target="new">My Site in a New Window!</A>


- Ed Smile
Logged

stephan
Guest
« Reply #2 on: April 16, 2003, 07:11:50 PM »

That will open the site in a window called "new"

That means that any other links with "new" in it, will be opened in the first "new" window.

<a href="link.htm" target="_blank"> will always open a new window.

_blank is a reserved word that will always create a new window.
Logged
benleo2
Trekkie
**
Offline Offline

Posts: 10


WWW
« Reply #3 on: April 17, 2003, 07:13:14 PM »

thanks a lot for the help you guys

even though Ive had my website for almost a whole year I know very little about HTML...I need to learn more about it
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: