 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
dick
Joined: 13 Mar 2005 Posts: 1
|
Posted: Sun Mar 13, 2005 9:11 am Link to open in Frame |
|
|
|
| What is the html for having a hyperlink open in a particular frame on my Home Page instead of opening in a new window? I always thought it was Target=(name of frame) but that doesn't seem to work. Thanks |
|
chrisxkelley
Joined: 07 Dec 2004 Posts: 246
|
Posted: Sun Mar 13, 2005 10:00 am |
|
|
|
youre right
<a href="mylink.html" target="framename">text</a> |
|
laurathealien

Joined: 13 Sep 2009 Posts: 6
|
Posted: Sun Sep 13, 2009 10:53 am ugh |
|
|
|
| it doesn't work for me either. |
|
nikki
Joined: 24 Nov 2008 Posts: 132
|
Posted: Tue Sep 15, 2009 1:45 pm |
|
|
|
This is the main page with frames
| Code: |
<html>
<head>
<frameset cols="50%,50%" >
<frameset rows="50,50">
<frame src="1.html" name = "frame1">
<frame src="2.html" name = "frame2">
</frameset>
<frameset rows="50,50">
<frame src="3.html" name = "frame3">
<frame src="4.html" name = "frame4" >
</frameset>
</frameset>
</head>
<body>
</body>
</html> |
and 4.html has
| Code: |
<html>
<head></head>
<body>
Page 4
<a href = "http://www.google.com" target = "frame1">Go to GOOGLE</a>
</body>
</html> |
When you click on "Go to GOOGLE" , this will replace the frame1(1.html) with google.com.
I have tested this in Safari and FF and works fine. |
|
laurathealien

Joined: 13 Sep 2009 Posts: 6
|
Posted: Tue Sep 15, 2009 5:30 pm |
|
|
|
YESSS.
it works now.
i never named my frames so i was just using the .htm as my target and that's why it didnt work.
thank you so much. |
|
nsavalas

Joined: 16 Nov 2009 Posts: 4 Location: Los Angeles, CA US
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|
 |
|
|
|
|
|
|
|