Click to See Complete Forum and Search --> : load 2 drop down menus


tevih
08-04-2003, 11:36 AM
I got a menu builder for dramweaver and want to know how to make 2 menus load at th click of a button. here is what I got so far:

http://www.aardvarkwebdesign.com/stuff/2-menus.html

A couple problems with it:
1. some wierd anomaly happens; when you click a link twice, it adds all the sub-menus to the last main menu again.

2. I want the previous menu to disappear when I click the next one.


I made the sizes of the menus different in order to see if the other menu disappeared. How the heck do I do this??:confused:

David Harrison
08-04-2003, 02:17 PM
Put this:

<p><a href="#" onclick="initSwipeMenu();initSwipeMenu2();return false;">click for both</a></p>

Chances are you missed out the semi-colon's.

tevih
08-04-2003, 02:32 PM
no... sorry for being unclear...

I want to have each menu loaded separately.. you click one link, it loads menu A, you click the next link, it clears menu A, and loads menu B. and vice versa...

Can somebody help?