We had a similar problem some time ago.
Then I found an article (I cannot recall who wrote it) and the ideea
was to use an IFRAME and then to put the div on it.
The z-index of the DIV must be higher than the z-index of the iframe.
In this way we succssessfully solved our problem.

dan


----- Original Message -----
From: "Mattias J" <[EMAIL PROTECTED]>
Sent: Monday, April 15, 2002 08:49
Subject: Re: zIndex problem


> 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