Help with frames?

liunx

Guest
<!-- m --><a class="postlink" href="http://avengerx.deep-ice.com/index.html">http://avengerx.deep-ice.com/index.html</a><!-- m --><br />
<br />
As you can see, my page uses frames. However, when you click something on the Temp. Menu, it opens in the frame instead of the space where it should.<br />
<br />
Please help? I'm sorta a newbie at this..:(.<!--content-->In your frameset you will have 2 frames defined. When you set up a link you need to target the frame where you want the link to load. You have something similar to:<br />
<br />
<frameset cols="150,*" frameborder="NO" border="0" framespacing="0" rows="*"> <br />
<frame name="Navigation" scrolling="NO" src=http://www.htmlforums.com/archive/index.php/"menu.htm" frameborder="NO" noresize> <br />
<frame name="RightFrame" src=http://www.htmlforums.com/archive/index.php/"main.htm" scrolling="AUTO" frameborder="NO"> <br />
</frameset> <br />
<br />
The link from your menu should be something like:<br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/"page2.html" target="RightFrame">Click me</a><br />
<br />
I have bolded the part that you are missing.<!--content-->Thank you kindly sir :)<!--content-->Now they open in new windows?<br />
<br />
Here's my code:<br />
<br />
<b>Temp. Menu</b><br />
<p><br />
-Members<br />
<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href=http://www.htmlforums.com/archive/index.php/"members.html" target="main.html">-Roster</a><br />
<p><br />
-Diplomacy<br />
<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href=http://www.htmlforums.com/archive/index.php/"allies.html" target="main.html">-Allies</a><br />
<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href=http://www.htmlforums.com/archive/index.php/"code.html" target="main.html">-Jedi Code</a><br />
<p><br />
-Communications<br />
<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href=http://www.htmlforums.com/archive/index.php/"l.html" target="main.html">-Starscape</a><br />
<p><br />
-Download <!--more-->s<br />
<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href=http://www.htmlforums.com/archive/index.php/"Download <!--more-->s.html" target="main.html">-All Download <!--more-->s</a><br />
<br />
Does it matter if my "main.html" is an html instead of a .htm?<!--content-->The target attrbiute should have the name of the <frame> not the name of the html file!<br />
<br />
E.g.<br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/"allies.html" target="main.html">-Allies</a><br />
<br />
should be<br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/"allies.html" target="main">-Allies</a><br />
<br />
If the name of the frame is main<br />
<br />
The the .html or .htm extension makes no difference.<!--content-->OHHHH!<br />
<br />
LOL!<br />
<br />
Man..I'm such a newbie..<br />
<br />
Can you tell? :p<!--content-->np.<br />
Is it working now?<!--content-->Yeppers :).<br />
<br />
Thanks a bunch.<!--content-->
 
Back
Top