Jump to content

Making Expanding and Collapsing Menus


proctk

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
Link to comment
https://forums.phpfreaks.com/topic/8225-making-expanding-and-collapsing-menus/
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!

Archived

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

×
×
  • Create New...

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.