Use lower z-indexes ?!

On Apr 1, 2:13 am, JoJo <tokyot...@gmail.com> wrote:
> 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 prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to