FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

HTML nav bar

 


joshumu
I want a page with a navigation page on the bottom seperated by a frame where the page navigated to is loaded on top. Any help?
arch23
first create a page with frames: http://www.w3schools.com/html/html_frames.asp

then implement navigation links or button to switch page in the non navigation part. you can use javascript (http://www.w3schools.com/jsref/default.asp) or just regular links.

http://www.w3schools.com/ is a great tutorials place.
joshumu
I got the frame part down. I just need the code for making the links load in the non nav area.
burningjacks
if you have your frame made correctly it will have a name.
Code:

<FRAMESET ROWS="80%,20%">
<FRAME SRC="PAGE_A.htm" NAME="FRAME1">
<FRAME SRC="PAGE_B.htm" NAME="FRAME2">
</FRAMESET>


Now just target the links to which ever frame you want it to show up in.

Code:

<a href="your_page.htm" target="FRAME1"> MY PAGE </a>


simple as that. let me no if you need anymore help.
joshumu
hey thanks burn. thats exactly what i wanted.
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.