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:28
Firefox: Error in parsing value for property 'color'
Poster: jrtap
Dated: Wednesday October 10 2007 - 4:32:01 BST
Hi,
I'm running Firefox 2.0.0.7 on Windows XP Professional, and the error console is reporting a CSS error. This is happening on all the menus on the milonic.com site itself, as well as on the sample menus (version 5.782) that I've downloaded and run on my web server.
As far as I can tell, the error occurs when my initial mouseover activity occurs over a menu item that has a submenu; otherwise it is fine. For example, after I load Milonic's home page http://www.milonic.com/, if I start by mousing over the "Home" item and then move over to other menu items, all is well, and none of the menu items generate any errors. But if, after loading the page, the very first menu item I mouse over is one of the items that have a submenu -- e.g., "Products", "Support" -- then I get this error message:
Quote:
Expected color but found 'undefined'. Error in parsing value for property 'color'. Declaration dropped.
It sounds like the Milonic code is dynamically generating a style declaration somewhere and trying to pull in a color value from some object that hasn't been defined or initialized. In my own config file I tried explicitly defining every color-related property I could find in the docs, to no avail.
Can anyone else repeat this? Any ideas how to solve it? Thanks!
Josh
Re: Firefox: Error in parsing value for property 'color'
Poster: John
Dated: Wednesday October 10 2007 - 15:29:53 BST
I'm running the same setup you are (reluctantly - I hate Windoze), and have never seen that error come up, including just now when I tried exactly what you said was failing. I go to the home page and then immediately select the 'DHTML Menu' item at least once a day. Again, no indicated errors.
I am running v5.783, but even on prior versions I have not seen this.
Re: Firefox: Error in parsing value for property 'color'
Poster: jrtap
Dated: Wednesday October 10 2007 - 19:04:44 BST
Thanks for checking and reporting back, John. I'm not sure what's different between our setups. My Windows is on Service Pack 2, although I can't imagine that has anything to do with this.
I just cleared my browser cache, disabled the few Firefox add-ons I had (Google Toolbar, etc.), restarted Firefox, tried the Milonic home page again, and still got this error message. Then I went over to a coworker's computer -- also Win XP Pro and Firefox 2.0.0.7 -- did the same test, and got the same error.
This isn't causing any actual problems that I can see other than the clutter of the error message itself in the error console, but I'd still like to track it down.
Re: Firefox: Error in parsing value for property 'color'
Poster: John
Dated: Wednesday October 10 2007 - 19:13:33 BST
Really strange. I'm on SP2 as well.
I've asked Andy to take a look.
Re: Firefox: Error in parsing value for property 'color'
Poster: Andy
Dated: Wednesday October 10 2007 - 21:14:33 BST
Hi,
Fixed in the latest Pre Release version of the menu.
Turns out that if you do not end a CSS property with an ending ; Firefox throws a warning in the Console. It doesn't appear to cause any problems just looks like it's having a bit of a moan.
The usual address for the Pre Release is http://www.milonic.com/menuvinfo.php
Cheers,
Andy
Re: Firefox: Error in parsing value for property 'color'
Poster: John
Dated: Wednesday October 10 2007 - 22:10:01 BST
Thanks, boss.