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

Bug in menu 5.728


Poster: luegner
Dated: Thursday August 4 2005 - 16:25:27 BST

I don't know where to report bugs so I figured I would report it here. With the new Gecko 1.8 code (Deer Park and Seamonkey Alpha and the old Mozilla 1.8a/b), the javascript console can now report css errors. One of these errors exist in the $z function in the last statement of the function:

$S.width=$T

Since the value of $T is grabbing the offsetWidth of the object, it does not include the value, "px" after it. The new versions of Gecko complain because "px" isn't concatenated to it. So make it this instead and it won't complain anymore:

$S.width=$T+"px";