determine which HTMLElement is on top?

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

  1. petermichaux

    petermichaux Guest

    Hi,

    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.

    Thanks,
    Peter
     
    petermichaux, Jun 15, 2006
    #1
    1. Advertisements

  2. petermichaux

    marss Guest

    напиÑав:
    Look through this topic, maybe it helps.
    http://groups.google.com.ua/group/c...32ef5e38e45?lnk=st&q=&rnum=5#7090632ef5e38e45
     
    marss, Jun 15, 2006
    #2
    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.