PDA

View Full Version : Dropdown menu [+4rep]



Thai-Man-Land
17-04-2009, 09:08 PM
Hello.

I have a sub-menu on my webpage, with 4 sub-headings and about 5 links under each of them, as shown below.

Heading 1
Link
Link
Link
Link
Link
Heading 2
Heading 3
Link
Link
Link
Heading 4
Link
Link

I would like a code (javascript/css) whereby a user can click on one of the heading, and the links will expand down or contract up to show only a header.
The links are text.

Rep to replies
Many thanks

Fehm
17-04-2009, 09:17 PM
Youll find it on Dynamic Drive

hamheyelliot
17-04-2009, 09:17 PM
I'm not too sure if it's exactly what you're looking for, but you could try Slide.fx in the Mootools framework?

http://demos.mootools.net/Fx.Slide

Dada
18-04-2009, 06:05 AM
Heres some (there all a little different)
http://javascript.about.com/library/blmenu.htm
http://www.dynamicdrive.com/dynamicindex1/chrome/index.htm
http://www.leigeber.com/2008/04/sliding-javascript-dropdown-menu/ ( i reccomend this one)

or if its a switch menu that you want
http://javascript.internet.com/navigation/slide-down-menu.html
http://www.dynamicdrive.com/dynamicindex1/switchmenu.htm

Thai-Man-Land
18-04-2009, 10:13 AM
No, something similar to www.facemediagroup.co.uk

Iszak
18-04-2009, 11:18 AM
http://pastebin.me/49e9b6a17a97e - Slow
http://pastebin.me/49e9b6edd67d1 - Fast

DeejayMachoo$
18-04-2009, 11:25 AM
http://pastebin.me/49e9b6a17a97e - Slow
http://pastebin.me/49e9b6edd67d1 - Fast

Always helping the community +rep

Thai-Man-Land
18-04-2009, 12:09 PM
Thank you.

Need to spread before I can rep aggain

Want to hide these adverts? Register an account for free!