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:13
Menu item with no URL = javascript:void;
Poster: selvan777
Dated: Monday January 5 2009 - 14:15:52 GMT
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
Re: Menu item with no URL = javascript:void;
Poster: Andy
Dated: Monday January 5 2009 - 15:10:50 GMT
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
Re: Menu item with no URL = javascript:void;
Poster: selvan777
Dated: Monday January 5 2009 - 15:22:35 GMT
That's great, I'll be sure to look out for it.