Click to See Complete Forum and Search --> : index menu as a style sheets


lakman4
07-27-2006, 07:15 AM
Hi guys

I have a webpage in frames but I want to integrate the index menu on top of every page on my site useing a style sheet. The top menu I want to put into a style sheets is this one:
http://www.depechemode.dk/index__top.htm
can anyone help making the menu into a style sheets where I just copy the tag into the top of each site?
Cheers
Jesper

SuzanneB
07-27-2006, 07:33 AM
One simple way of doing that is to use PHP. You really don't need to know much about PHP other than the include command. Just look up that one command and it will tell you everything you need to know! Put the html for your menu in a file. Then just add a single php include statement to each file you want the code to appear in, in the place you want it to appear. You can use css with it too, so in a single file you have the source code for your menu, which is styled by a css file! So simple to modify! The only downside is that you must have php enabled on your server and you may have to rename your files to dot php to get the server to process them correctly.