+1 on Tobie's comment: Use smaller z-indexes.
Scientific notation isn't hard to parse, if you want to handle it that
way, but even that's problematic -- that number has been rounded
(2.14748e9 == 2,147,480,000, which != 2,147,483,647), and so even
comparing numeric values isn't going to work.
I was programming a widget which people can embed on their sites. This
widget contains an anchor http://www.mySite.com; on it. I set this
anchor to the maximum integer value to prevent leechers from obscuring
the anchor. Z-index is not the only check I do for obscuring, by the
way. So I'm stuck
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