determine which HTMLElement is on top?

Discussion in 'Javascript' started by petermichaux, Jun 15, 2006.

  1. petermichaux

    petermichaux Guest


    I have an array of potentially overlapping HTMLElements. Some of these
    may have z-index set by inline CSS (typed in HTML doc or set with
    JavaScript) or by a seperate stylesheet file. How do I determine which
    of these elements in the array is the element on top? That is closest
    to the front of the screen.

    petermichaux, Jun 15, 2006
    1. Advertisements

  2. petermichaux

    marss Guest

    Look through this topic, maybe it helps.
    marss, Jun 15, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.