Hi John,

I use a similar drop-down menu on my El Bombín site <http://elbombin.stuarthomfray.co.uk/> (javascript: <http://elbombin.stuarthomfray.co.uk/menutoggle.js>) - as far as I can tell it works on pretty much every browser (although Opera 7 seems to require an inline style for the 'display:none' declaration), and it stores the value in a cookie.

Mike Foskett's version beat me to it, though, AND it's structured to allow multiple menu drop-downs, so it will probably suit your needs better!

cheers,

Stuart

john wrote:
Hello. I'm doing a drop-down menu (a bit differently than usual), and there is only one thing I can't seem to accomplish.

The menu is at http://www.drzeus.net/lab/verticalmenu.html

The user should be able to click on a tab to expand it, which it currently does, but clicking it again should contract the menu (that's the part I need help with, please).

I realize that a javascript question isn't exactly about standards, but since the menu itself is XHTML/CSS, and hopefully others will find the menu useful.

Thank you.

****************************************************** The discussion list for http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************



Reply via email to