View Full Version : Question: Framesets

04-28-2006, 05:26 PM
I am not sure what to do. I have a simple page and I want to have a locked header with my navagation links so i can click a link without having to scroll up to the top of the page.

Right now this is the code I am using


<frameset rows="41%,100%">

<frame src="frame_a.html">
<frame src="frame_b.html">



The frame_a is the header I want locked and the frame_b is the rest of the page.

My problem is when I click a link in frame_a it happens in frame_a.

Is there anything in my links I can add or change that will allow me to click a link in frame_a and have it open in frame_b?

Here is the code for one of my links

<p ALIGN="left"><a href="/forum"><img style="border:0;" src = forum.gif></a></p>

Thank you very much for all your help

My sight if it helps (www.argonprime.com)

Pepe, the bull
04-28-2006, 07:43 PM
First you need to name your frames.

<frame src="frame_a.html" name="frame_a">
<frame src="frame_b.html" name="frame_b">

Then you need to add a target to your links.

<p ALIGN="left"><a href="/forum" target="frame_b"><img style="border:0;" src = forum.gif></a></p>

04-28-2006, 10:55 PM
best html reference http://www.w3schools.com/html/html_reference.asp best style sheet reference http://www.w3schools.com/css/css_reference.asp html links http://www.websitetips.com/html/ style sheet links http://www.websitetips.com/css/ html dom http://www.w3schools.com/htmldom/dom_reference.asp

how to validate frameset with framespacing="0" for internet explorer