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:53

javascript:void() on main menu


Poster: tricky
Dated: Monday February 14 2005 - 20:57:03 GMT

Here's a biginner's question if ever there was one.
On the main level of my menu, where I have text, always visible and showmenu only (no url), it still mouses over as a hyperlink and produces a javascript:void();
Is there any way to make it not mousover to a finger pointer (so mouse pointer remains as an arrow) but still swap colors? I don't want the main menu to be clickable, just the submenu items.
Does this question even make any sense???

Please, don't everyone roll there eyes at the same time. Thanks :roll: 8O
It's Tricky!!!


Poster: John
Dated: Tuesday February 15 2005 - 13:55:41 GMT

Try type=header; .

Also, a URL is always helpful for us, as requested.


Poster: tricky
Dated: Tuesday February 15 2005 - 15:11:18 GMT

That removed the link pointer, but now the text doesn't swap colors.
The text should swap white - to - grey but the mouse should remain an arrow, not change to a finger. Don't know if that's possible. Here is the link:
http://www.safenet-inc.com/

Thanks in advance.


Poster: Ruth
Dated: Tuesday February 15 2005 - 18:57:42 GMT

You can use the pointer code to prevent the pointer from changing to a hand for the main menu items that are not actual links to some page. Other than that, I don't know what you could do, since in effect they are links, just not clickable links that take you any place, they 'link' in a sense to the menu that is going to be shown and switch the colors from an 'onmouseover' event. The header doesn't do any of that onmouseover switch to the onbgcolor, oncolor etc. it's a fixed plain text, I guess you could call it. The pointer code is in the itemproperties references. There are links below my name to different menu property references. Style, menu and items.

Ruth


Poster: tricky
Dated: Tuesday February 15 2005 - 19:27:50 GMT

Yes! pointer=default; did the trick. It's still a link but no one realizes it unless they click it and look closely at the status bar and see the void() msg.

I previously used a different company's menu (which seems to be a cheap ripoff of yours) which does do a non-linking mousover color swap. Other than that, though, it's garbage compared to Milonic.
Thanks a million!!


Poster: Ruth
Dated: Tuesday February 15 2005 - 21:31:58 GMT

Welcome to Milonic, we're glad you made the switch. It's a marvelous menu. I'm a bit biased since I volunteer here because I think it's the best menu out there.

Ruth