Results 1 to 3 of 3

Thread: enforcing a <DIV> to be higher layer than a listbox

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2002
    Posts
    61

    Question enforcing a <DIV> to be higher layer than a listbox

    My web application for use under Windows Explorer.

    I'm using <DIV> tag to print a temporary report table over a form (so it covers the form to begin with), and this table has a "close" button to hide it when the user is ready to proceed with filling the form "underneath" it.

    However, the select control elements on the form (listboxes, etc) show over my report table like they are in a higher-priority layer, and I don't want this. Other form elements (eg text boxes, buttons, etc) are hidden underneath my report table (while it's visible), as I want them to be.

    I heard it's a known restriction that select control components have priority over all layers. Can someone suggest a way to overcome the problem I'm having, so ALL form elements including the troublesome select listboxes are covered by my report table while it's visible?

    Thanks.

  2. #2
    Frenzied Member axion_sa's Avatar
    Join Date
    Jan 2002
    Location
    Joburg, RSA
    Posts
    1,724

    Re: enforcing a <DIV> to be higher layer than a listbox

    Hiding the <select> element is the only way to get another layer above it

  3. #3
    Fanatic Member Psyrus's Avatar
    Join Date
    Jul 2000
    Location
    NJ
    Posts
    602

    Re: enforcing a <DIV> to be higher layer than a listbox

    Agreed.

    Set visibility:hidden when the page loads and when you close the report set visibility:visible.
    Chris

    VB 6.0 Calendar App Video Gamers Group
    Don't forget to rate people if they helped you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width