Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:23

Parent Menus Linking When They Shouldn't Be


Poster: cbetta
Dated: Tuesday November 29 2005 - 22:23:05 GMT

I have a very simple parent/submenu setup, where the parent menu's call to the submenu is:

aI("text=Transaction Monitors;showmenu=Transaction Monitors;");

The parent/submenus properly display, but the parent menu option winds up being a clickable link, even though it says javascript:void(0); in the browser. Why is this happening? I only want the submenu items to be linked (which they propertly are).

Regards,
Dave.


Poster: Ruth
Dated: Wednesday November 30 2005 - 5:53:29 GMT

Hi,

Are you saying that if you click it tries to go someplace?

It will be a 'link' in the sense that it is opening something onmouseover, but it shouldn't do anything if you click it other than say javascript:void bottom browser bar.

Ruth


Poster: Andy
Dated: Wednesday November 30 2005 - 11:15:24 GMT

Try upgrading the menu if you are using anyting other than version 5.735.

If you are using this version can we have a URL so that we can test things.

-- Andy


Poster: cbetta
Dated: Wednesday November 30 2005 - 15:24:42 GMT

Ruth, yes, that is exactly what I am saying. Andy, I always upgrade to the latest and greatest when you release, and we're not doing anything that complex. If you hit my company's home page, you'll be able to reproduce the issue:

1) Go to http://www.reis.com/
2) Hover over the "Sales Comparables" parent menu option.
3) MouseOver to the "Transaction Monitors" option.

That last option, as seen in Firefox, says javascript:void(0) when you hover over it, yet it's still linked and causes an error.

Also, using that same menu, the Metro/Submarket reports parent menu options are bucketed into letter ranges. Those letter ranges are exhibiting the same behavior as the example above; they should not be linked.

Many thanks for any help you can provide.

Regards,
Dave.


Poster: Andy
Dated: Wednesday November 30 2005 - 19:35:09 GMT

Hi,

Version 5.736 should have a fix for this

Quote:
Fixed bug with targeted menu items trying to open links without a url


Hope this helps,
Andy


Poster: cbetta
Dated: Wednesday November 30 2005 - 20:37:33 GMT

Yep, looks good. Thanks so much for the fast turnaround.

Regards,
Dave.