Collapsable Menus

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
adamb10
Forum Commoner
Posts: 91
Joined: Sat Jun 24, 2006 7:44 pm

Collapsable Menus

Post by adamb10 »

Hello,

I have a menu of links on the side of the page. What I would like to do is divide these links into sections like customize, Comment management, etc. When a user clicks on a section, the section collapses reveling the links. Of course it can be closed too. :)

I have no idea how to do this so if someone could lead me in the right direction, I'd love that. :)

Thanx!
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I'm not sure how exactly you want to build it, but the general concept it that you manipulate the object's style property. Specifically the "display" and/or "visibility" properties of the style object.
adamb10
Forum Commoner
Posts: 91
Joined: Sat Jun 24, 2006 7:44 pm

Post by adamb10 »

Hmmm..yeah I dont quite get that.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Well, I gave you some hints.
Post Reply