Determinating elements in the viewport depends on the coordinates By Łukasz Lipiński | 2012/11/17 0 Comment var el = document.elementFromPoint(x, y); Returns element with the highest z-index. Suppored in all browsers.