multiplying frames

admin

Administrator
Staff member
hey there, im using frames in a website i am creating for a friend. im new to html so please be patient with me...<br />
<br />
you can see the work at the following url:<br />
<br />
<!-- m --><a class="postlink" href="http://www.libertypowerservice.com">http://www.libertypowerservice.com</a><!-- m --><br />
<br />
if you select an option from the menu you will see the problem. the navigation frame multiplies itself! :) ut oh! <br />
can anyone tell me how i might correct this? thanks!<br />
<br />
Aaron<!--content-->on your nav bar you are linking back to the frameset page not a new page called home. your frameset code which is<br />
<br />
<frameset rows="75,*" frameborder="1" bordercolor=red><br />
<br />
<frame name="nav" src=http://www.htmlforums.com/archive/index.php/"nav.htm" scrolling=no><br />
<frame name="body" SRC=http://www.htmlforums.com/archive/index.php/"body.htm" scrolling=yes><br />
<br />
</frameset> which means the two pages that open up are nav and body when the user clicks on home the link is taking him back to the frameset page instead of the body.htm page :cool: <br />
<br />
that'll do it for ya :D<br />
<br />
edit: you may want to add the norsize attribute to your frameset tag so the frames border cannot be resized.<br />
<br />
<frameset rows="75,*" frameborder="1" bordercolor=red norsize> ;)<!--content-->im lost.<br />
<br />
i think what your saying is i need to create a "main" page that nav & body will reside on so that the user actually loads the "main" page instead of loading nav and body. <br />
<br />
but how do i do that?<br />
<br />
could someone maybe gimme a little example of the code i need? i've been fiddling with this for awhile and cant seem to get it straight... in the editor or my head! oh it's been a long day.<br />
<br />
Aaron<!--content-->i could use a little more help on this... i dont think im going to be able to solve it by myself. can someone show me an example of code on how to fix this problem? i have tried a couple of things so far and it continues to frustrate me. <br />
<br />
thanks!<br />
<br />
Aaron<!--content-->right, i will try my best to explain this, you know when your main page loads up?<br />
<br />
it opens up these 2 pages yes?<br />
<frame name="nav" src=http://www.htmlforums.com/archive/index.php/"nav.htm" scrolling=no><br />
<frame name="body" SRC=http://www.htmlforums.com/archive/index.php/"body.htm" scrolling=yes><br />
<br />
nav is the page containing your nav bar and the body.htm is the page containing:<br />
<br />
WELCOME TO LIBERTY POWER SERVICE, INC. <br />
<br />
THIS WEBSITE IS UNDER CONSTRUCTION, PLEASE CHECK LATER FOR UPDATES.<br />
<br />
now if im right, the page containing this you want to make it HOME am i right?<br />
<br />
but when the user clicks on HOME on the nav bar, it is actually loading up this page :http://www.libertypowerservice.com/ instead of body.htm which it should be loading up<br />
<br />
do you understand what i mean now?<!--content-->Okay I finally got it! Thanks for your assistance Joe.<br />
<br />
Aaron<!--content-->no problems man :D<br />
<br />
glad i could help<!--content-->
 
Back
Top