supertanker Posted March 7, 2006 Share Posted March 7, 2006 I am designing a site (as usual) which will be a freeware directory.How would I make a menu of main catagories, that someone could click, and then go through as many sub-catagories as needed, and how would I have one of those "you are here" bars along the top with MySQL?Like, I want to be able to click "Games", and then "FPS", and then maybe some other catagory, (but no fixed 'depth'), and I would like it to be able to keep track of where I am...like the bar on the top of this page: > PHP Help Forums > PHP and MySQL > PHP HelpI've been at this for 6 months but I am stumped here.... Link to comment https://forums.phpfreaks.com/topic/4276-how-do-i-do-variable-depth-menus/ Share on other sites More sharing options...
AndyB Posted March 7, 2006 Share Posted March 7, 2006 Breadcrumbs is what they're called (as in Hansel & Gretel). A good php example/tutorial can be found [a href=\"http://www.zend.com/zend/spotlight/breadcrumb28.php\" target=\"_blank\"]here at Zend[/a] Link to comment https://forums.phpfreaks.com/topic/4276-how-do-i-do-variable-depth-menus/#findComment-14885 Share on other sites More sharing options...
supertanker Posted March 7, 2006 Author Share Posted March 7, 2006 [!--quoteo(post=352332:date=Mar 6 2006, 07:31 PM:name=AndyB)--][div class=\'quotetop\']QUOTE(AndyB @ Mar 6 2006, 07:31 PM) [snapback]352332[/snapback][/div][div class=\'quotemain\'][!--quotec--]Breadcrumbs is what they're called (as in Hansel & Gretel). A good php example/tutorial can be found [a href=\"http://www.zend.com/zend/spotlight/breadcrumb28.php\" target=\"_blank\"]here at Zend[/a][/quote]Wait, I can't really divide my site into directories. Is there a way to do it with files instead? In fact, the main part will be powered by a single file...Should I just put the 'depth' in the URL?What about multi-level menues? I am aiming for something around the looks of SourceForge Link to comment https://forums.phpfreaks.com/topic/4276-how-do-i-do-variable-depth-menus/#findComment-14887 Share on other sites More sharing options...
AndyB Posted March 7, 2006 Share Posted March 7, 2006 [!--quoteo(post=352334:date=Mar 6 2006, 07:38 PM:name=supertanker)--][div class=\'quotetop\']QUOTE(supertanker @ Mar 6 2006, 07:38 PM) [snapback]352334[/snapback][/div][div class=\'quotemain\'][!--quotec--]What about multi-level menues? I am aiming for something around the looks of SourceForge[/quote]You might want to take a look at some pure CSS multiple-level menus - at [a href=\"http://www.tanfa.co.uk/css/examples/css-dropdown-menus.asp\" target=\"_blank\"]www.tanfa.co.uk[/a]. Simple, fast, clean, cross-browser, etc. Link to comment https://forums.phpfreaks.com/topic/4276-how-do-i-do-variable-depth-menus/#findComment-14890 Share on other sites More sharing options...
supertanker Posted March 7, 2006 Author Share Posted March 7, 2006 [!--quoteo(post=352337:date=Mar 6 2006, 07:52 PM:name=AndyB)--][div class=\'quotetop\']QUOTE(AndyB @ Mar 6 2006, 07:52 PM) [snapback]352337[/snapback][/div][div class=\'quotemain\'][!--quotec--]You might want to take a look at some pure CSS multiple-level menus - at [a href=\"http://www.tanfa.co.uk/css/examples/css-dropdown-menus.asp\" target=\"_blank\"]www.tanfa.co.uk[/a]. Simple, fast, clean, cross-browser, etc.[/quote]Still not quite what I was looking for, but that might be good...I meant like I click a catagory, it loads a new page with subcatagories, ect. Link to comment https://forums.phpfreaks.com/topic/4276-how-do-i-do-variable-depth-menus/#findComment-14892 Share on other sites More sharing options...
supertanker Posted March 7, 2006 Author Share Posted March 7, 2006 Like here on PHPFreaks, where it says:PHP Freaks: PHP Help Forums -> Replying in How do I do variable depth menus?How might I do that on my site? Link to comment https://forums.phpfreaks.com/topic/4276-how-do-i-do-variable-depth-menus/#findComment-14904 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.