Bug in menu 5.728

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
luegner
Advanced
Advanced
Posts: 21
Joined: Fri Dec 12, 2003 6:49 pm

Bug in menu 5.728

Post by luegner »

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";
Post Reply