PDA

View Full Version : Is this possible?


Ari
01-25-2006, 09:31 PM
I just created the menu look that I want, but I hate having to copy paste onto each page each time I add a link and I don't want to use frames (too many browsers and window resolutions to worry about).

I've seen dhtml menus on dynamic drive that call the menu up from a seperate page usually a .php or something. Those are fine but they don't give me the look that I want.

My menu uses colspan and rowspan to place graphics around the links to look like a picture frame. I also used a mouseover command. Is there a code besides a frame that will allow me to call it from another page i.e menu.php or menu.html?

My Menu (http://www.tsa-36.com/menu.html)

RammsteinNicCag
01-25-2006, 11:53 PM
What you want to do is use an include in php.

Jennifer

Ari
01-26-2006, 12:48 AM
I have no clue on php codes.

Mordred
01-27-2006, 05:34 PM
Create a new file called menu.php. Put all your menu code in it.

Then from the PHP pages you wish to use the menu on, add this code:
<?
include('menu.php');
?>

This will insert the contents of menu.php at that location in your code.