Firefox: Error in parsing value for property 'color'

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
jrtap
Beginner
Beginner
Posts: 2
Joined: Fri Sep 22, 2006 5:04 am

Firefox: Error in parsing value for property 'color'

Post by jrtap »

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://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:
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
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Re: Firefox: Error in parsing value for property 'color'

Post by John »

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.
John
jrtap
Beginner
Beginner
Posts: 2
Joined: Fri Sep 22, 2006 5:04 am

Re: Firefox: Error in parsing value for property 'color'

Post by jrtap »

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.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Re: Firefox: Error in parsing value for property 'color'

Post by John »

Really strange. I'm on SP2 as well.

I've asked Andy to take a look.
John
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Re: Firefox: Error in parsing value for property 'color'

Post by Andy »

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://milonic.com/menuvinfo.php

Cheers,
Andy
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Re: Firefox: Error in parsing value for property 'color'

Post by John »

Thanks, boss.
John
Post Reply