Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Z-index for combo box

Z-index for combo box

Scheduled Pinned Locked Moved Web Development
htmldatabasehelpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 616616
    wrote on last edited by
    #1

    I have written menu (HTML) which works fine, which implies that user can hover the mouse and see all the available options. (i.e. File – New, Save as ..) For some reason I also have a Select object (Combo Box). (Bug in HTML that you can not change the Z-index of a Select object) Now if user hover the mouse on any menu item, the Select object is top of selection of that menu item’s selection and user can not see that. Is there any way so that I can change Z-index of Select object (Combo Box), so we could able to see the selection from menu? Agha Khan

    L 1 Reply Last reply
    0
    • U User 616616

      I have written menu (HTML) which works fine, which implies that user can hover the mouse and see all the available options. (i.e. File – New, Save as ..) For some reason I also have a Select object (Combo Box). (Bug in HTML that you can not change the Z-index of a Select object) Now if user hover the mouse on any menu item, the Select object is top of selection of that menu item’s selection and user can not see that. Is there any way so that I can change Z-index of Select object (Combo Box), so we could able to see the selection from menu? Agha Khan

      L Offline
      L Offline
      l a u r e n
      wrote on last edited by
      #2

      are u using a div to show ur menu and setting the z-index of the div?


      "there is no spoon"
      biz stuff   about me

      U 1 Reply Last reply
      0
      • L l a u r e n

        are u using a div to show ur menu and setting the z-index of the div?


        "there is no spoon"
        biz stuff   about me

        U Offline
        U Offline
        User 616616
        wrote on last edited by
        #3

        I have a Select object (Combo box) which is just under the menu bar. When my mouse hover the menu a drop down menu shows up, this is correct behavior. The Select object always has high precedence, so my menu items show beneath Select object (Combo box). My real question was to bring menu item above the Select object (Combo box). There must be a way. Try in HTML file any two objects, where one of them should be Select object. Try to change the z-order. You just can not. Thanks for reply Agha

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups