Click to See Complete Forum and Search --> : trouble with toggling


Desbaaz
01-18-2005, 07:43 PM
Ok, so I have a few menus that can be toggled on and off using this exact command:

onClick="toggle_dropmenu('sub1')"

This works well for opening and closing one category at a time. However, I would like make it so that when one menu is opened it closes all the other menus. (of which there are three in total, if that makes a difference.) Does anyone know of a way to accomplish this?

buntine
01-18-2005, 07:49 PM
Wrong forum. Please post your question in the JavaScript forum.

Regards.

Desbaaz
01-19-2005, 06:49 AM
D'oh! Could have sworn that I did post this on the java forum. Sorry about that.

Pittimann
01-19-2005, 06:58 AM
Hi!Originally posted by Desbaaz
D'oh! Could have sworn that I did post this on the java forum. Sorry about that. Yes you did, but it belongs to the javascript forum. And there, we will need more code to help you. Could you please post the stuff you are currently using?

Cheers - Pit