Nope, I have an ad box on a home page service that is being defeated by someone placing a layer just 1 higher than mine. I don't want to play a game, or have a box that can be defeated, so I'd like to set it at the maximum number of layers possible.
You want to set the Z-Index property of your layer to the maximum integer value available in JavaScript. This value is available as Number.MAX_VALUE. Thus, if you set your layer's z-index to Number.MAX_VALUE, you should be able to create a layer that can't be superceeded.
Of course, someone creative could always change your layer's z-index using JavaScript...
Bookmarks