Dear Milonic
I believe I have finally found the bugs that caused the problem I reported in my post viewtopic.php?t=2573
On the Menu Items Quick Reference Guide it states that:
imageheight has code ref = 37
imagewidth has code ref = 38
This is correctly coded in milonic_src.js
However in mmenudom.js and mmenuns4.js the code refs have been switched. This is bug #1.
Additionally, in mmenudom.js and mmenuns4.js there is a typo:
the code
_Ihgt="";if(_I[38])_Ight=" height="+_I[38];
should read
_Ihgt="";if(_I[38])_Ihgt=" height="+_I[38];
i.e hgt instead of ght. This is bug #2.
Once I switched the code refs around in mmenudom.js and mmenuns4.js and corrected the typo, then my menu correctly coded BOTH the imageheight and the imagewidth.
Keep up the great work.
Tomi
Image Width and Height bugs found
-
- Beginner
- Posts: 6
- Joined: Wed Apr 23, 2003 7:25 am
Wow very nice catch. I can't believe a typo/bug got past Andy!! You guys do understand this is his one slip up for the year, its not often you'll see something like this, so cherish it!
I am surprised it did not throw an error, eh Andy?
I am surprised it did not throw an error, eh Andy?
Dave Hergert
Software Engineer
"Helping to make the menu better, one at a time."
Software Engineer
"Helping to make the menu better, one at a time."