Skip to content
Permalink
Browse files

datepicker: IE6 css fixes for default theme.

  • Loading branch information
Ca-Phun Ung
Ca-Phun Ung committed Dec 30, 2008
1 parent f017c0a commit cd20e99fc889b92c8358c9e13f5f514527605934
Showing with 15 additions and 2 deletions.
  1. +14 −1 themes/default/ui.datepicker.css
  2. +1 −1 ui/ui.datepicker.js
@@ -44,4 +44,17 @@
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
.ui-datepicker-rtl .ui-datepicker-group { float:right; }
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }

/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
.ui-datepicker-cover {
display: none; /*sorry for IE5*/
display/**/: block; /*sorry for IE5*/
position: absolute; /*must have*/
z-index: -1; /*must have*/
filter: mask(); /*must have*/
top: -4px; /*must have*/
left: -4px; /*must have*/
width: 200px; /*must have*/
height: 200px; /*must have*/
}
@@ -1407,7 +1407,7 @@ $.extend(Datepicker.prototype, {
}
html += (!inst.inline ? buttonPanel : '') +
($.browser.msie && parseInt($.browser.version,10) < 7 && !inst.inline ?
'<iframe src="javascript:false;" class="ui-datepicker-cover"></iframe>' : '');
'<iframe src="javascript:false;" class="ui-datepicker-cover" frameborder="0"></iframe>' : '');
inst._keyEvent = false;
return html;
},

0 comments on commit cd20e99

Please sign in to comment.
You can’t perform that action at this time.