opening a webpage in a frame with HTML?

thedude8543

New member
i had to do a project for my webdev class and i have a page with 3 frames (top, bottom left and bottom right) i need to open a link from bottom left in the bottom right frame to me it looks like my code will work but it doesnt.

here is the main page
<html>
<head>
<title>My Day</title>
<!- The theme is websites I use on a daily basis>

</head>


<frameset rows="20%,*">
<frame name="title" src="title.html">


<frameset cols="40%, *">
<frame name="list" src="list.html">
<frame name="Rightframe" src="pictures.html">

</frameset>
</frameset>


</html>

and here is the source for the list frame
<html>
<title>My Day</title>
<body style="background-color:red">
<!- Text links>
<center><h1>Text Links</h1></center>

<a href="http://www.google.com" target="Rightframe">Google</a><br>
<a href="http://www.facebook.com" target="Rightframe">Facebook</a><br>
<a href="http://www.youtube.com" target="Rightframe">Youtube</a><br>
<a href="http://www.twitter.com" target="Rightframe">Twitter</a><br>
<a href="http://www.yahoo.com" target="Rightframe">Yahoo</a><br>


<center><h1>Picture Links</h1></center>
<!- Picture links>
<a href="http://www.google.com" target="Rightframe"><img src="google.png" /></a>
<a href="http://www.facebook.com" target="Rightframe"><img src="facebook.png" /></a>
<a href="http://www.youtube.com" target="Rightframe"><img src="youtube.png" /></a>
<a href="http://www.twitter.com" target="Rightframe"><img src="twitter.png" /></a>
<a href="http://www.yahoo.com" target="Rightframe"><img src="yahoo.png" /></a>
<!- Dont judge the pictures they arent copyrighted so its all good. Im not sure why but i have to use
Rightframe to open the websites in a new tab.>
</body>
</html>
 
Back
Top