Jump to content

Archived

This topic is now archived and is closed to further replies.

proctk

Making Expanding and Collapsing Menus

Recommended Posts

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

Share this post


Link to post
Share on other sites
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!

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.