This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The following Javascript finds the highest z-index in the page and changes the | |
background color to orange. | |
What I'm trying to do is find the DOM element with the highest z-index. I have | |
the following code, but I can't figure out how to do it without having the variable "high". | |
Can you figure out a better way? | |
Also, it doesn't seem to work in Safari. |