diff options
author | Ca-Phun Ung <pazu2k@gmail.com> | 2008-12-30 12:14:15 +0000 |
---|---|---|
committer | Ca-Phun Ung <pazu2k@gmail.com> | 2008-12-30 12:14:15 +0000 |
commit | cd20e99fc889b92c8358c9e13f5f514527605934 (patch) | |
tree | f93dacbe4991cd92f75803dda6635f43174f2baa | |
parent | f017c0aa218b614413655eac0bce29f304933674 (diff) | |
download | jquery-ui-cd20e99fc889b92c8358c9e13f5f514527605934.tar.gz jquery-ui-cd20e99fc889b92c8358c9e13f5f514527605934.zip |
datepicker: IE6 css fixes for default theme.
-rw-r--r-- | themes/default/ui.datepicker.css | 15 | ||||
-rw-r--r-- | ui/ui.datepicker.js | 2 |
2 files changed, 15 insertions, 2 deletions
diff --git a/themes/default/ui.datepicker.css b/themes/default/ui.datepicker.css index dd0ab1cbd..d08a4af2c 100644 --- a/themes/default/ui.datepicker.css +++ b/themes/default/ui.datepicker.css @@ -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; }
\ No newline at end of file +.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*/ +}
\ No newline at end of file diff --git a/ui/ui.datepicker.js b/ui/ui.datepicker.js index 47085197d..65fa391d2 100644 --- a/ui/ui.datepicker.js +++ b/ui/ui.datepicker.js @@ -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; }, |