Overlap menu

quickie34

New Member
Hi
Is there any way I can make a drop down menu that when I click on a dropdown item in the menu, the menu item drops down and overlaps below content. The below content is either a iframe or anothe standard frame
Its not suitable to add the menu to all my pages just to make it overlap, I prefer to have it only on the main frame around the changing middle content

If not I will have to go through all pages again if I add a menu item...
 

constanthosting

New Member
You can always use the menu in a php include file and the use the php file include on each page so that when the menu changes, all you have to do it change the include file, and not ever page. I do this for a lot of my sites.

Use <?php include("menu.php"); ?> in your pages
and then create a menu.php with the menu in it

You'll have to change all your html/htm page extensions to .php this won't affect how the page generates if you are using just any old html in it.

This way you don't have to use iframes :-D

when I was starting out making menus with drop downs and stuff I use online generators to make the menus for me :p here is one of my favorites, http://www.izzymenu.com/
 

quickie34

New Member
Thanks!
That I will try to learn that. If I understand correct I rename all pages that included the menu only right? and the php include menu thing shoule be placed just where I want the menu to appear or at top of page?


You can always use the menu in a php include file and the use the php file include on each page so that when the menu changes, all you have to do it change the include file, and not ever page. I do this for a lot of my sites.

Use <?php include("menu.php"); ?> in your pages
and then create a menu.php with the menu in it

You'll have to change all your html/htm page extensions to .php this won't affect how the page generates if you are using just any old html in it.

This way you don't have to use iframes :-D

when I was starting out making menus with drop downs and stuff I use online generators to make the menus for me :p here is one of my favorites, http://www.izzymenu.com/
 

constanthosting

New Member
yeah, rename the extension to .php for all the pages that will include the php include and the just put that code where you want the menu to show up at. It may take afew tries to get it right but don't fret try and try and try again! plus, we here at webdesignforum.com are all here to help you out if you get stick in a bind
 
Top