PDA

View Full Version : Frame troubles.


altoid
06-29-2007, 04:28 AM
I'm making a website, and I ran into a little problem. I have a frame with two buttons on it. One of them goes to a forum, correct? Well, these two button are in a frame, but when I click on them, that frame goes to the forums on that frame, not the other one, which is what I had in mind. I had it work like that before, but now it doesn't. This is the code I used in the menu:

<body>
<html>
<a href="test.html">
<img border="0" src="home.png" width="119" height="34">
<a href="http://tornfaun.awardspace.com">
<img border="0" src="forum.png" width="119" height="34">

<body bgcolor="#FFFFFF">
<body bgcolor="rgb(255,255,255)">
<body bgcolor="white">
</body>
</html>

PibbTibbs
06-29-2007, 05:00 AM
you need to use frame targeting.


<a href="http://tornfaun.awardspace.com" target="frameName">

// and within your frame tag

<FRAME name="frameName" src="initialPage.html">

altoid
06-29-2007, 10:18 PM
Well, when I click on the button, it opens in a new window, which isn't what I'm looking for.