pauladaniel / calendardateselect

Automatically exported from code.google.com/p/calendardateselect
Other
0 stars 0 forks source link

Select boxes seen trough in IE6 #49

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Opening the CDS in IE6 shows the select boxes that are supposed to be
behind the opening div.
2.
3.

What is the expected output? What do you see instead?
By looking at the code I see a function for fixing this with an iframe but
it doesn't work. I've heard of this problem in other contexts and that the
iframe is the way to go but don't understand why the fix is not working.

What version of the product are you using? On what operating system?
1.81 on Debian

Please provide any additional information below.

Original issue reported on code.google.com by peg...@gmail.com on 5 Oct 2007 at 8:11

GoogleCodeExporter commented 8 years ago
Also the iframe fix thing makes the calendar disappear when opened in Konqueror,
making  it unusable. After commenting out the row for the iframe Konqueror works
nicely and IE6 looks the same as before.

Original comment by peg...@gmail.com on 5 Oct 2007 at 8:18

GoogleCodeExporter commented 8 years ago
I had the same issue, but it was all z-index related. Maybe the next version of
calendar_date_select can include a minimum z-index variable to display the
calendar_date_select box.

I was having it open within a lightbox window, which was already z-indexed at 
100.

I changed this line and added the zIndex (around 115):

      this.iframe = $(document.body).build("iframe", {}, { position:"absolute", left:
left_px, top: top_px, height: c_height.toStrin
g()+"px", width: c_width.toString()+"px", border: "0px", zIndex: "102"})

Original comment by michael....@gmail.com on 10 Oct 2007 at 2:05

GoogleCodeExporter commented 8 years ago
This is fantastic, thanks Michael for cracking this one.  I'll add it to a 
stylesheet
and give the iframe a class to make it easier for people to control the zIndex 
as needed.

Thanks again,

Tim

Original comment by timchar...@gmail.com on 10 Oct 2007 at 7:58

GoogleCodeExporter commented 8 years ago
Yes now it works for IE6 but not for Konqueror. The issue seems to be that 
Konqueror
can't handle z-index values for an element with "position: absolute" (or 
something
like that). It works with i.e. "position: relative" but then again IE6 fails. 
Any ideas?

Original comment by peg...@gmail.com on 11 Oct 2007 at 7:02

GoogleCodeExporter commented 8 years ago
Are you trying it on trunk?

Original comment by timchar...@gmail.com on 11 Oct 2007 at 7:06

GoogleCodeExporter commented 8 years ago
Yes I've tried it. And it happens on the demo page as well.

Original comment by peg...@gmail.com on 11 Oct 2007 at 2:57

GoogleCodeExporter commented 8 years ago
I haven't updated the demo yet.

Original comment by timchar...@gmail.com on 12 Oct 2007 at 3:10