View Full Version : AnyLink Drop Down Menu - onclick issue

04-23-2008, 10:23 AM
1) Script Title:

AnyLink Drop Down Menu

2) Script URL (on DD):


3) Describe problem:

My problem can be seen on this page:


Basically, what I need to do, is to let the users click on a link and see a menu, which should not disappear until they click elsewhere on the screen. This works.

However, it doesn't behave exactly how I would like it to behave when the users click on a link and then click on a second link -- when the second link is clicked, I need it to make the first menu disappear and the second menu appear at the same time. As it is now, when the user clicks on the 2nd link, the original menu simply dissappears.

I guess this is something easy to do, however my javascript knowledge is *very* limited so I need your help!


04-23-2008, 01:00 PM
<a href="default2.htm" onClick="hidemenu();return dropdownmenu(this, event, menu1, '200px')">Link 1</a> (onclick)

<a href="default2.htm" onClick="hidemenu();return dropdownmenu(this, event, menu2, '200px')">Link 2</a> (onclick)

Note: I see that you have altered the script itself. If you still want the menus to disappear when moused out, you should reinstate the full original script.