Jump to content

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!
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.