Now this is a rather annoying problem.
On
http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/select.asp
you can read about the select-tag (drop down list): "This element is a
windowed control and does not support the z-index attribute or zIndex
property." (Also see
http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/zindex.
asp)

In practice, any windowed element will appear to be "on top of" any
non-windowed element. The only solution I know of is to manually (with
JavaScript) hide the drop down lists while showing anything above them and
then show (unhide) them again. You could hide all drop down lists or only
the ones "behind" the object.

-- Original message --
Hi,
I am using this line to display a calendar using javascript in my jsp.

<div id="popupcalendar" class="text"
style="position=absolute;top:0;left:0;zIndex:10">&nbsp;</div>

This calendar happens to display the calendar behind the drop-down boxes,
i.e. the calendar appears behind drop-down boxes (the drop down box is not
clicked).

Can anybody suggest a quick solution?

Thanks in advance

Regards
Nauman

Mattias Jiderhamn
Expert Systems
[EMAIL PROTECTED]

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to