Skip to content

Instantly share code, notes, and snippets.

@konrness
konrness / README
Created December 10, 2009 06:00 — forked from karbassi/README
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.