View Full Version : Java script errors reported in AnyLink Drop Down Menu

02-28-2006, 10:14 PM
I get the following Javascript errors reported by Firefox 1.5 on Linux when viewing the drop-down menu demo...

Error in parsing value for property 'top'. Declaration dropped.
Error in parsing value for property 'left'. Declaration dropped.

The error is in function showhide. Changing

if (ie4||ns6)


if (ie4||ns6)

fixes the problem.

I don't really understand why this statement is there, because immediately on the return from the only call of this function the script seems to set the top and left coordinates back onscreen relative to the menu heading.

03-01-2006, 07:19 AM
It's just meant to hide it while things are initializing and it should have the pixel units specified, a genuine bug and fix, imho, congratulations!

03-01-2006, 10:44 AM
LoL yes it's nice to see a real bug report. :) Problem fixed.