On all browsers but Safari, getStyle('zIndex') returns a string
representation of the max integer value "2147483647" for one of my
elements. However, on an older version of Safari, it return the
exponentiated number "2.14748e+9". After upgrading to the newest
Safari, it now returns "2.14748e+009", which has 2 extra zeros. Now my
code has broken because it does an equality check on this value. How
do I future-proof my code to work for all versions of Safari? I tried
to use parseInt(), but this function doesn't understand exponeniated
numbers.
--
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.