KE4NYV Posted March 1, 2010 Share Posted March 1, 2010 Hi Guys, new here and looking for some help on a simple project. I am re-designing my website and I would like to change my static horz menu with a horz drop-down menu and I would like to do it in PHP, if I can. My current menu is simply a single row table with every catergory available as a menu option. As I move on and expand, I have to keep adding items to the menu and it gets wider and wider and I am running out of room. I don't want to move a second row of buttons, so I think a drop-down in the next best option. Here is the basic menu I am starting with, mocked up in HTML: http://www.rpc-electronics.com/phpmenu.php I want to simply hover over the menu headers and have a simple text menu drop down with the sub catergories. For example, when I hover over "Products" a menu drops down with the names of the product groups. I do not need the menu to dynamically change, I can hard code the menu options when I need do. One thing I am doing now with my current page is using the implode function to load in my HTML menu to the various pages, when they load. This lets me modify a single file to change the menu on every page. I hope I can continue doing that with the new PHP menu. Any help/pointers would be great. Thanks! Jason. Link to comment https://forums.phpfreaks.com/topic/193775-simple-horizontal-php-drop-down-menu/ Share on other sites More sharing options...
Goat Posted March 1, 2010 Share Posted March 1, 2010 Hi Guys, new here and looking for some help on a simple project. I am re-designing my website and I would like to change my static horz menu with a horz drop-down menu and I would like to do it in PHP, if I can. My current menu is simply a single row table with every catergory available as a menu option. As I move on and expand, I have to keep adding items to the menu and it gets wider and wider and I am running out of room. I don't want to move a second row of buttons, so I think a drop-down in the next best option. Here is the basic menu I am starting with, mocked up in HTML: http://www.rpc-electronics.com/phpmenu.php I want to simply hover over the menu headers and have a simple text menu drop down with the sub catergories. For example, when I hover over "Products" a menu drops down with the names of the product groups. I do not need the menu to dynamically change, I can hard code the menu options when I need do. One thing I am doing now with my current page is using the implode function to load in my HTML menu to the various pages, when they load. This lets me modify a single file to change the menu on every page. I hope I can continue doing that with the new PHP menu. Any help/pointers would be great. Thanks! Jason. That's not php question, that's client-side. Take look at css menus (use google) or javascript. regards, Goat Link to comment https://forums.phpfreaks.com/topic/193775-simple-horizontal-php-drop-down-menu/#findComment-1019884 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.