PDA

View Full Version : AnyLink Drop Down Menu - main links not working



brianb
11-01-2008, 10:58 PM
1) AnyLink Drop Down Menu

2) http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm

3) How do you make the main links clickable? I set up a simple page here: test page (http://www.adirondackbible.org/dropdown-test.shtml) and made the first link "Web Design" an href to "http://www.google.com" but when you click on the link it doesn't do anything. The drop down links work fine.

What am I missing?

Keep in mind that I'm new to CSS and JavaScript - so speak slow and use small words... :)

Thanks!

brianb
11-02-2008, 02:38 AM
Ok... after fiddling with this for a bit here's what I did to fix it... problem is I don't know if I screwed something else up.

I changed this:
<a href="http://www.google.com" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu1, '150px')" onMouseout="delayhidemenu()">Web Design</a>

to this:
<a href="default.htm" onMouseover="dropdownmenu(this, event, menu1, '150px')" onMouseout="delayhidemenu()">Web Design</a>

Just removing the 'onClick' reference. Seems to be working OK though.

ddadmin
11-02-2008, 08:16 PM
Yep, that's how you'd do it- remove the onClick event handler. No problems there.