SitePoint Sponsor

User Tag List

Results 1 to 6 of 6

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    May 2001
    Location
    vancouver
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    DHTML Dropdown menu hidden under form elements

    Is there any way around the way that div's used in a pop up menu do not overlap select elements in a form. Do you know what I mean? The div's show fine above text fields and other form element but dissapear behind selects.

    Is there any way around this?
    Brook Davies
    www.logiforms.com
    "add feature rich database backed forms to your site with no programming"

  2. #2
    SitePoint Evangelist
    Join Date
    Jul 2001
    Location
    UK
    Posts
    407
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've seen on Microsoft that they seem to dynamically make the element hidden (CSS).

  3. #3
    SitePoint Member
    Join Date
    May 2001
    Location
    vancouver
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Hiding Elements

    Gheez, that seems like a lot of work (in my instance) since the page is dynamic and I don't really know which form element will be affected and hiding them all would just look funny. This ones gonna be tough I think...
    Brook Davies
    www.logiforms.com
    "add feature rich database backed forms to your site with no programming"

  4. #4
    SitePoint Enthusiast
    Join Date
    Jun 2001
    Posts
    87
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This may help. An excerpt from the link at the end.

    In general, all elements are windowless and will participate in z-order overlapping. However, some objects are windowed. ActiveX Controls that have not been specifically written to be windowless will not overlap with other objects. iframe elements represent a window object, and window objects do not participate in z-order. Another exception in Internet Explorer 4.0 is the select element.



    http://msdn.microsoft.com/library/de...html/dhtml.asp

  5. #5
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ya, read this article too

    http://www.webreference.com/dhtml/di.../indexNEW.html

    Note: MS did add z-index support for IFRAMES in IE5.5
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev




  6. #6
    SitePoint Enthusiast
    Join Date
    Jun 2001
    Posts
    87
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Another good article. Bummer about there being no getting around this problem. We've got the same problem and are considering different things like moving the select box or wondering if a DHTML menu should replace the select box.


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
  •