View Single Post
Old 03-13-2009, 02:48 PM   PM User | #1
srlagarto
New to the CF scene

 
Join Date: Mar 2009
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
srlagarto is an unknown quantity at this point
Javascript Expanding Menu query

Hi, there.

I have a simple existing CSS rollover menu that I've recently added sub-level options to, using Javascript to expand a group with one click using the 'show' command and another click to contract it again with the 'hide' command.

I'm a total newbie to Javascript, so was wondering if anyone out there knew of an easy way to automatically contract all of the expanded groups when clicking on one of the other unexpanded ones - as opposed to having to 'hide' everything manually?

Any help or advice that anyone can offer greatfully appreciated!
srlagarto is offline   Reply With Quote