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

Firefox Javascript console


Poster: erickhill
Dated: Monday July 10 2006 - 23:24:11 BST

Hi,

I have successfully eliminated all of my site's JS "errors" found inside the Firefox JS console...all but 1. And, this one error appears to be directly caused by the Milonic Menu. It is nothing serious, but I would like to clear it out if possible.

I am getting:
Error: Error in parsing value for property 'font-Style'. Declaration dropped.

I have 10 tabs, and coincidentally 10 errors in the JS Console. SO, I'm making an assumption the 2 are related.

From what I can tell, the Milonic menu may be getting a faint rap on the knuckles because FF wants that property to be all lowercase in the javascript file (my guess). However, the uppercase 'Style' is inside the dom file which we are asked not to modify. So, it would need to be fixed in the JS in the next update Milonic sends out.

Has anyone else seen this error, and possibly found a way to remove it? It's pretty annoying. Other than that minor issue, which users never see anyway, the menu seems pretty sweet.

-- Eric


Poster: Ruth
Dated: Tuesday July 11 2006 - 7:51:19 BST

Hi Eric,

I've never seen that error and I use the js console all the time because I am forever messing something up :?

I think we'd need to see the page so we see your html, css and the menu_data file.

It's interesting if that is the problem that you're not also getting the same error for the font-Weight....

Ruth


Poster: erickhill
Dated: Tuesday July 11 2006 - 21:54:10 BST

Thanks for replying. Here's a sample just isolating the header and footer:

http://www.infoworld.com/temp/redesign/misc/kk.html

You'll notice if you keep your console window open that when you roll over the menu to access the submenus, the same errors appear for those as well.

Eric


Poster: erickhill
Dated: Tuesday July 11 2006 - 21:55:49 BST

I should point out that these are not true "errors" but more realisically Firefox standards displaying extreme anal retention. Regardless, it would nice to eliminate the "errors."

Eric


Poster: Ruth
Dated: Wednesday July 12 2006 - 0:35:43 BST

Well, duh :oops:

I haven't update FF so that is probably why I'm not getting those errors. However, if you are getting it for the font-Style and you think it's the capital letter, then you should also get the error for the font-Weight, should you not?

I guess that's rhetorical since I can't test it anyway :) I'll post to Milonic but am not sure anything can be done. I have no idea why the letter is capital, but there would be some reason.

Ruth


Poster: Andy
Dated: Monday July 24 2006 - 13:51:46 BST

Hi,

The problem is you have declared a font-Style of bold.

font-style should be either normal or italic.

Hope this helps,
Andy

PS - and yes, it is Firefox being anal, very anal about it's errors.