IE issue Coolest DHTML Calendar
I am using this open source 开发者_JAVA百科calendar and have the listbox below the date picker button.
When I click the date picker button, the listbox will suddenly hide in IE6, IE7 and IE8. How can I fix this issue?
Isn't it supposed to be hidden? From the site…
this select should hide when the calendar is above it
This is to work around the limitation in IE with z-index, see Z-Index problems with IE6 and html <select> element and probably many other questions.
The calendar you are using is out of date and you might find you get incompatibilities with newer browsers. I would recommend the jQueryUI Datepicker for a more up-to-date (and cooler) calendar. Although that does mean you would need to include jQuery and a jQueryUI theme which might not suit your needs.
Edit: The code is blindly hiding <select>
elements for all versions of IE, even though the bug was fixed in IE7 - a year after that calendar library was last updated :-)
精彩评论