View Full Version : Main nav won't work in ANYLINK DROP DOWN MENU

07-31-2007, 03:37 PM
1) Script Title: AnyLink Drop Down Menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm

3) Describe problem: I've installed the script using graphic images for all the links(both the main nav and the secondary drop down nav), but I can't get the main nav links to work in IE. They show as links, and will forward if I right click and follow the link, but not under normal conditions. All of my drop down nav links work correctly.

I've reviewed my code several times but apparently I'm missing something - which wouldn't be the first time.... Any tips?

07-31-2007, 06:37 PM
That is intended. Most folks like it that way. What happens is without javascript, there is no drop down and those 'main' links are normal links. With javascript, you get the drop downs, and depending on how you have set things up, shouldn't need the 'main' links as anything other than triggers for the drop downs.

But if you want them to work as normal links, remove this:

onClick="return clickreturnvalue()"

from them.

02-07-2008, 11:40 AM
Newby, you and I were in the same boat. Just what I was wondering myself.

John, thanks for the answer! I've got a lot to learn about Javascript ...