|
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!
|