Log In · Register

 
 
Closed TopicStart new topic
new window
retart
post Jan 17 2005, 06:50 PM
Post #1


Member
**

Group: Member
Posts: 16
Joined: Jul 2004
Member No: 32,452



does anyone kno the code where yooh put at the end of the link code so that the site opens up in a new window??
 
hi-C
post Jan 17 2005, 07:02 PM
Post #2


Amberific.
********

Group: Staff Alumni
Posts: 12,913
Joined: Jul 2004
Member No: 29,772



<a href="URL HERE" TARGET="_blank">
 
sherryvu
post Jan 17 2005, 07:02 PM
Post #3


Senior Member
*******

Group: Member
Posts: 3,826
Joined: Jan 2004
Member No: 2,330



QUOTE
target="blank"

like so:
QUOTE
<img src="http://www.xanga.com" target="_blank">

whoops... too late pinch.gif
 
hi-C
post Jan 17 2005, 07:04 PM
Post #4


Amberific.
********

Group: Staff Alumni
Posts: 12,913
Joined: Jul 2004
Member No: 29,772



^Yeah, same time. Eh, it happens.
 
lilphoenix
post Jan 17 2005, 09:33 PM
Post #5


I'm just a little bit crazy...
******

Group: Member
Posts: 1,119
Joined: Jun 2004
Member No: 19,760



couldn't you also put...

 
CKae
post Jan 18 2005, 07:43 AM
Post #6


What r u looking at!?
***

Group: Member
Posts: 34
Joined: Jan 2005
Member No: 85,144



QUOTE(lilphoenix @ Jan 18 2005, 10:33 AM)
couldn't you also put...


*

Yeah you could put it in that way, but it's not the correct HTML syntax!
 
mystical
post Jan 18 2005, 02:56 PM
Post #7


I HAVE YOUR IP
******

Group: Member
Posts: 1,429
Joined: Feb 2004
Member No: 2,745



QUOTE(CKae @ Jan 18 2005, 5:43 AM)
Yeah you could put it in that way, but it's not the correct HTML syntax!
*



Why wouldnt it. That is correct HTML but i'm not sure that it'll open a new window. The target "new" will tell the browser to to open the link in window set as new.

CODE
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<head>
<title>Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<a href="http://yahoo.com" target="new">Yahoo.com In Iframe 1</a><br>
<a href="http://google.com" target="new2">Google.com In Iframe 2</a><br>
<br>
Iframe1:<br>
<iframe name="new" width="400" height="400" scrolling="no" src="blank.html" frameborder="0" marginwidth="0" marginheight="0"></iframe><br><br>
Iframe 2:<br>
<iframe name="new2" width="400" height="400" scrolling="no" src="blank.html" frameborder="0" marginwidth="0" marginheight="0"></iframe>
</body>
</html>
 
captured_serenit...
post Jan 18 2005, 03:04 PM
Post #8


i'm lala. girly girl.
******

Group: Member
Posts: 1,531
Joined: Jul 2004
Member No: 31,888



they all beat me to it...darn...
 

Closed TopicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: