You are not logged in.

#1 03 Oct 2006 11:12

Sebastian
Loco Lowter Member
Registered: 14 Mar 2005
Posts: 2268
Message

Folding / expandable menu

Hello
I need a menu that looks something like this, but I have no clue on how I should do it!

Example (folded)

+ Reviews

Example (opened)
- Reviews
Computers
DVD players
Your mother
etc

How the hell do I fix that? =/

Thanks in advance

Offline

 

#2 03 Oct 2006 15:11

Ethan
Lowter Staff
From: Minneapolis, MN
Registered: 20 Jan 2005
Posts: 6960
Message  Website

Re: Folding / expandable menu

You can do it with JavaScript, mainly using a combination of document.element_id.display = 'block' and document.element_id.display = 'none'.  I will try and find some code for you.


Ethan, Managing Director of Lowter
Blog | American Swedish Institute | Save the Internet

Offline

 

#3 03 Oct 2006 16:08

WarpNacelle
Lowter Dude
From: Washington State
Registered: 29 Sep 2005
Posts: 218
Message

Re: Folding / expandable menu

I use this menu on pretty much all my sites:

http://www.dynamicdrive.com/dynamicindex1/hvmenu/


Support bacteria - they're the only culture some people have.
Faith Based Theater Community...

Offline

 

#4 03 Oct 2006 18:18

lotrgamemast
Lowter Staff
From: England
Registered: 25 Jan 2005
Posts: 2484
Message  Website

Re: Folding / expandable menu

try going to the example page and turning your javascript off:

http://www.dynamicdrive.com/dynamicinde … orizon.htm

Thats the perfect way to scare people away perminantly. Using a script that cant be seen on some peoples settings (JS off, text browser, mobile browsers). You could get a better and lighterweight solution very simply.

Offline

 

#5 03 Oct 2006 18:23

Frenzie
Loco Lowter Member
From: Antwerp, Belgium
Registered: 25 Jan 2005
Posts: 3874
Message  Website

Re: Folding / expandable menu

Your browser does not support script? Whoopie. Suckerfish dropdowns is pretty good.


Intelligent alien life does exist, otherwise they would have contacted us.

Offline

 

#6 04 Oct 2006 10:56

Tom
Loco Lowter Member
From: UK
Registered: 25 Jan 2005
Posts: 2503
Message  Website

Re: Folding / expandable menu

haha, made me laugh. they could of at least made the effort to put just normal links down or something tongue


Meaning of life: we learn a bunch of stuff then we die.
http://www.thehardcorelife.com
http://blog.thehardcorelife.com

Offline

 

#7 04 Oct 2006 16:47

lotrgamemast
Lowter Staff
From: England
Registered: 25 Jan 2005
Posts: 2484
Message  Website

Re: Folding / expandable menu

No i do have javascript on, however i like to check script to see if they will work with it off. Im a fan of using javascript in a way that allows everyone to access the site fully still.

I like suckerfish.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson