javascript popup calendar problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sbettadpur
    New Member
    • Aug 2007
    • 121

    javascript popup calendar problem

    hello everybody,


    i am using readymade popup calendar for my application, it's working fine.
    But i am facing some problem i.e. if i click on the calendar image it will open a calendar. below that i put one drop down select box, so layer of calendar is invisible due to this select box. where as instead of select box, if there is text box calendar is visible. how can i solve this problem.

    And also i used z-index property to push the calendar layer. but still its not working
    it is going back side of select box.

    if anybody knows reply me.

    thank you.
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Let me guess. This happens in IE6 only?

    IE6 has a problem where windowed controls such as select elements appear above non-windowed controls such as divs. To avoid this problem:

    1. Either hide the select element when you show the calendar; or

    2. use iframe shimming - place an iframe underneath the calendar to allow it to appear on top of the select element.

    Comment

    • sbettadpur
      New Member
      • Aug 2007
      • 121

      #3
      Thank you very much for your reply.

      Your guess is correct, i am facing above said problem with IE 6 only, not in IE 7 and mozilla.

      thanks

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        You're welcome. If you have any problems implementing the workarounds, or indeed, if you manage to solve it, let us know how it goes.

        Comment

        Working...