proctk Posted April 24, 2006 Share Posted April 24, 2006 HI I have been searching the web for an easy to follow tutorial to create and Expanding and Collapsing Menu bar(horizontal). The post popular search result is the tutorial posted on phpfreaks, my php skills are limited and I find this tutorila hard to follow. anything is a great start thank you Quote Link to comment https://forums.phpfreaks.com/topic/8225-making-expanding-and-collapsing-menus/ Share on other sites More sharing options...
wildteen88 Posted April 24, 2006 Share Posted April 24, 2006 To do what you want to do it doesnt require any PHP coding at all. All you need to do is create a smple javascript function which you call it with the [b]onClick[/b] attribute when some one clicks a link/image/button or what ever which hides your menu.have a loot at [a href=\"http://www.phpfreaks.com/forums/index.php?s=&showtopic=90723&view=findpost&p=363935\" target=\"_blank\"]my post here[/a] to see what the javascript code looks like, just 5 lines of code! Quote Link to comment https://forums.phpfreaks.com/topic/8225-making-expanding-and-collapsing-menus/#findComment-30020 Share on other sites More sharing options...
kenrbnsn Posted April 25, 2006 Share Posted April 25, 2006 You may also want to look at implementing dropdown menus via CSS. You can start a this web page: [a href=\"http://www.htmldog.com/articles/suckerfish/dropdowns/\" target=\"_blank\"]Son of Suckerfish Dropdowns[/a]Ken Quote Link to comment https://forums.phpfreaks.com/topic/8225-making-expanding-and-collapsing-menus/#findComment-30602 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.