DIV's and drop down menus (SELECT)


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: DIV's and drop down menus (SELECT)

  1. #1
    Randy Guest

    DIV's and drop down menus (SELECT)


    I have a DIV that is positioned and made visible based on the mouse location
    when certain things are rolled over. The
    problem is, if there are any drop down menus in a FORM on the page, my "pop-up"
    DIV shows behind it! I tried putting the drop
    downs in a DIV and setting their z-index below my DIV, and that doesn't work.
    I can put the drop down menus in a DIV
    and then hide them when my DIV shows... the problem there is that because
    I position the DIV based on the
    mouse location I have no way of knowing if it is in the area of a drop down.
    So I'd have to hide them all every time... which is
    dumb.

    Any ideas?

  2. #2
    Glenn Guest

    Re: DIV's and drop down menus (SELECT)


    Randy,

    Did you ever get an answer to "overlaying" select boxes? I also tried zindexes
    and it doesn't work. The only solution I could find was to hide the combo
    (select) boxes with a style property (and then unhide them when done).

    This is a pain and I've got to think that it's some sort of bug with IE.

    If you find the answer, I'd like to know!

    "Randy" <rjdesign@mediaone.net> wrote:
    >
    >I have a DIV that is positioned and made visible based on the mouse location
    >when certain things are rolled over. The
    >problem is, if there are any drop down menus in a FORM on the page, my "pop-up"
    >DIV shows behind it! I tried putting the drop
    >downs in a DIV and setting their z-index below my DIV, and that doesn't

    work.
    >I can put the drop down menus in a DIV
    >and then hide them when my DIV shows... the problem there is that because
    >I position the DIV based on the
    >mouse location I have no way of knowing if it is in the area of a drop down.
    >So I'd have to hide them all every time... which is
    >dumb.
    >
    >Any ideas?



  3. #3
    Ajay Dhunna Guest

    Re: DIV's and drop down menus (SELECT)


    Did anyone find an answer to this problem (Other than hiding it?)

    If so please could you throw some light my way too

    Cheers

    Ajay





    "Glenn" <gaclark@broughton-sys.com> wrote:
    >
    >Randy,
    >
    >Did you ever get an answer to "overlaying" select boxes? I also tried zindexes
    >and it doesn't work. The only solution I could find was to hide the combo
    >(select) boxes with a style property (and then unhide them when done).
    >
    >This is a pain and I've got to think that it's some sort of bug with IE.
    >
    >If you find the answer, I'd like to know!
    >
    >"Randy" <rjdesign@mediaone.net> wrote:
    >>
    >>I have a DIV that is positioned and made visible based on the mouse location
    >>when certain things are rolled over. The
    >>problem is, if there are any drop down menus in a FORM on the page, my

    "pop-up"
    >>DIV shows behind it! I tried putting the drop
    >>downs in a DIV and setting their z-index below my DIV, and that doesn't

    >work.
    >>I can put the drop down menus in a DIV
    >>and then hide them when my DIV shows... the problem there is that because
    >>I position the DIV based on the
    >>mouse location I have no way of knowing if it is in the area of a drop

    down.
    >>So I'd have to hide them all every time... which is
    >>dumb.
    >>
    >>Any ideas?

    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center