SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    What a twist! Kings's Avatar
    Join Date
    Jul 2002
    Location
    The Netherlands
    Posts
    954
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Select element hovering on top?

    I'm experiencing something weird in IE, and it doesn't happen in FireFox.

    I'm using a JavaScript menu, and the menu should float on top of other elements. It works perfectly, and floats over all the content, except the select element for some odd reason (see screenshot below). Can anyone shed some light and possible give the solution to this problem?

    Thanks!

    Dennis Pallett - NoCertainty - My Personal Weblog
    The Web Network: ASPit | PHPit | WebDev-Articles
    Blogs: TalkFones | Holidayzer | PHPit Blog

  2. #2
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    No fix. Select is a windowed element in IE, meaning that it's drawn AFTER other HTML is drawn on the page. The only thing you can do is stick the select in a div and turn that div invisible when that particular menu drops down. Nasty workaround I know, but it's the only way to do it since selects ignore Z-index.

    Off Topic:

    By the way, nice Wordpress modification

  3. #3
    What a twist! Kings's Avatar
    Join Date
    Jul 2002
    Location
    The Netherlands
    Posts
    954
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by vgarcia
    No fix. Select is a windowed element in IE, meaning that it's drawn AFTER other HTML is drawn on the page. The only thing you can do is stick the select in a div and turn that div invisible when that particular menu drops down. Nasty workaround I know, but it's the only way to do it since selects ignore Z-index.
    Thanks, I guess I'll just leave it like this then. It's still usable, just doesn't look too good, but oh well.
    Dennis Pallett - NoCertainty - My Personal Weblog
    The Web Network: ASPit | PHPit | WebDev-Articles
    Blogs: TalkFones | Holidayzer | PHPit Blog

  4. #4
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,288
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    Have a look here for the iframe shim technique:

    http://www.aplus.co.yu/wch/102/

    May be of some use

    Paul

  5. #5
    What a twist! Kings's Avatar
    Join Date
    Jul 2002
    Location
    The Netherlands
    Posts
    954
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Paul O'B
    Hi,

    Have a look here for the iframe shim technique:

    http://www.aplus.co.yu/wch/102/

    May be of some use

    Paul
    Excellent! Cheers Paul, not only does it have the solution to my problem, but the same page led to me another DHTML/CSS menu solution, which seems a lot better than my current one
    Dennis Pallett - NoCertainty - My Personal Weblog
    The Web Network: ASPit | PHPit | WebDev-Articles
    Blogs: TalkFones | Holidayzer | PHPit Blog


Bookmarks

Posting Permissions

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