View Single Post
  #12 (permalink)  
Old Oct 15th, 2006, 10:52
Joolsd186 Joolsd186 is offline
Junior Member
Join Date: Aug 2006
Location: UK Sussex
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Re: A better way putting a menu bar, on every page

Quote:
First of all, you need to change all of the extensions from .html to .php. Then in, say, your main page, add this:
Ok this is interesting, with the menu.htm, I change this to
menu.php and would place it in my root folder? I do not have any server access, the thing is handed over to another person


Quote:
<html>
<p>Content above your navigation</p>
<?php
include $_SERVER["DOCUMENT_ROOT"]."/path/to/menu.php";
?>
<p>Content below your navigation</p>
</html>
I see the above and below <p> tags. It kind of makes sense.
My navigation page has a specific size, where would the sizeing take place. Will the role overs work in the same way? When I have produced the menu, how would I manipulate it in dream weaver? It is a dream weaver job. I would have to place the code in the code view.

I will be back later to night, to try it out, will probably have questions.

Last edited by Joolsd186; Oct 15th, 2006 at 10:57.
Reply With Quote