Menu item with no URL = javascript:void;

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
selvan777
Super Advanced
Super Advanced
Posts: 85
Joined: Tue Dec 14, 2004 12:53 am
Location: Folsom, CA
Contact:

Menu item with no URL = javascript:void;

Post by selvan777 »

Hi,

When I mouse over any menu item that does not contain a url, the status bar shows javascript:void(0);
The same happens when I mouse over any tooltip bubble.

What are my options to eliminate that if not assigning a url to it?

Thanks
with the latest free version
Image http://lastborns.surf.to
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Re: Menu item with no URL = javascript:void;

Post by Andy »

Unfortunately, there is very little we can do about this.

What happens is we want the menu to NOT follow a link and so we use a javascript:void(0); for that purpose. However, newer web browsers and anti-phishing rules dictate that you MUST let the user see the link they are about to visit and unfortunately, you have to display javascript:void(0);

The good news is that the new menu (due out soon) will allow you to declare a link as "#" and do the same thing.

HTH
Andy
User avatar
selvan777
Super Advanced
Super Advanced
Posts: 85
Joined: Tue Dec 14, 2004 12:53 am
Location: Folsom, CA
Contact:

Re: Menu item with no URL = javascript:void;

Post by selvan777 »

That's great, I'll be sure to look out for it.
with the latest free version
Image http://lastborns.surf.to
Post Reply