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

status bar show "javascript;"


Poster: rudy
Dated: Thursday June 14 2007 - 23:58:49 BST

I am using the newest version of Milonic Menus:
Using Windows XP sp2 OS:

I noticed when I mouse over the menu tabs the word "javascript;" (without the quote marks) shows up in the status bar of my browser. Everything works fine and no javascript error showing but I think it has to do with the status=Exam Objectives; code. Actually, I just as soon not have anything showing up in the status bar of the brower - how should I edit this to just remove that part? I need the status=yes as this creates a status bar in the window that opens for older browser versions.

aI("text=Exam Objectives;oncolor=#FFFFFF;offcolor=#000000;url=http://www.networkdriven.com/hp22-questions/aplus_focus.html;target=blank;targetfeatures=width=750 height=480 top=118 left=140 toolbar=no location=no status=yes; status=Exam Objectives;");


Poster: Ruth
Dated: Friday June 15 2007 - 15:42:39 BST

Hi,

Remove the status=Exam Objectives; from the aI. Actually that doesn't work anymore anyway because that can be considered a security issue so the function was removed from the menu back with 5.751. I think that's why you are getting the javascript in the status bar, because that 'property' is no longer available in the menu but you have it coded in the aI still. Check this and go down to the information on version 5.751 if you want more information on this.

http://www.milonic.com/menuvinfo.php

Ruth


Poster: rudy
Dated: Friday June 15 2007 - 16:10:21 BST

Thanks Ruth - the following is the code after removing the status-Exam Objectives but it still shows "javascript:;" in the status bar. What could I be missing here do you think?

aI("text=Exam Objectives;oncolor=#FFFFFF;offcolor=#000000;url=http://www.networkdriven.com/hp22/inet_focus.htm;target=blank;targetfeatures=width=750 height=480 top=118 left=140 toolbar=no scrollbars=yes location=no status=yes;");

BTW - I am using Milonic version 5.774
You can see the "javascript:;" showing up in the status bar by mousing over the menu items at the link below.

http://www.networkdriven.com/hp22inet/inet_demo/quizmaker.html

Thanks for your help!

Ruth wrote:
Hi,

Remove the status=Exam Objectives; from the aI. Actually that doesn't work anymore anyway because that can be considered a security issue so the function was removed from the menu back with 5.751. I think that's why you are getting the javascript in the status bar, because that 'property' is no longer available in the menu but you have it coded in the aI still. Check this and go down to the information on version 5.751 if you want more information on this.

http://www.milonic.com/menuvinfo.php

Ruth


Poster: Ruth
Dated: Friday June 15 2007 - 22:41:46 BST

Hi,

Well, probably the same thing I missed :)

Notice the properties you are listing in the url for the window, one is status=yes. That probably is what is showing in the status bar.

Ruth


Poster: rudy
Dated: Friday June 15 2007 - 22:51:18 BST

I removed it but it still shows the javacript:; in the status bar.
Ruth wrote:
Hi,

Well, probably the same thing I missed :)

Notice the properties you are listing in the url for the window, one is status=yes. That probably is what is showing in the status bar.

Ruth


Poster: Ruth
Dated: Friday June 15 2007 - 23:18:14 BST

Hi,

Well, it's the target features that is doing that, but I have no idea how to get rid of it unless you eliminate the target features. You'll have to contact Milonic direct about this, I think.

Ruth


Poster: rudy
Dated: Saturday June 16 2007 - 0:04:02 BST

Yes, I removed the targetfeatures= line and of course it now just show a URL. I placed a support ticket earliar and am waiting for the fix. He has never let me down on this kind of thing. Hope he can give me a fix, as I really like my pages to open using different options that the targetfeature offered.

Thanks so much for your help!!!

Ruth wrote:
Hi,

Well, it's the target features that is doing that, but I have no idea how to get rid of it unless you eliminate the target features. You'll have to contact Milonic direct about this, I think.

Ruth


Poster: rudy
Dated: Monday June 18 2007 - 13:53:46 BST

I guess I hadn't noticed it before, but even on Milonics home page, when you mouse over any of the menu headers the "javascript:;" is shown. I will just remove the targetfeatures= from my menus and place the code in the linked window to handle the window open features, such as top, left, height and width. Thanks for all your help...

Ruth wrote:
Hi,

Well, it's the target features that is doing that, but I have no idea how to get rid of it unless you eliminate the target features. You'll have to contact Milonic direct about this, I think.

Ruth


Poster: Andy
Dated: Tuesday June 26 2007 - 13:57:32 BST

Hi,

The problem we have with status is that it's now considered insecure to be able to hide the link. This means that, by default, status text cannot be changed on newer browsers therefore we removed this feature as it was becoming obsolete.

HTH,
Andy