View Full Version : Switch Menu - multiple menus expand onload

05-26-2006, 07:21 PM
I am using the switch menu from http://www.dynamicdrive.com/dynamicindex1/switchmenu.htm and I have also added a mod to it from someone that allows me to have multiple menus expanded at the same time.

Now what I would like to do is have multiple menus be expanded at the same time when the page loads.

I did this,

<body onload="SwitchMenu('sub12')">
and it opens the menu I want (12) but I cannot have two there....even if I separate it with a semi colin...it will not do two. Can anyone help, I am very new to javascript.