aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjzaefferer <joern.zaefferer@gmail.com>2010-03-24 17:01:30 -0400
committerjzaefferer <joern.zaefferer@gmail.com>2010-03-24 17:01:30 -0400
commitb7ad981e6965ecf92882b98ca99bb3108748ffe7 (patch)
tree30b00056c7c730b4353854ff168c21730c6f9b57
parentf2873b6ebf427edd013eaef37adf5cbd4c06a1cf (diff)
downloadjquery-ui-b7ad981e6965ecf92882b98ca99bb3108748ffe7.tar.gz
jquery-ui-b7ad981e6965ecf92882b98ca99bb3108748ffe7.zip
Fixing styles for menu to work properly in IEs, even with nested menus (updated the nested-menu protoype nested2.html with themeroller) - kills the hover-border in IE6, but we have to live with that
-rw-r--r--tests/visual/menu/nested2.html7
-rw-r--r--themes/base/jquery.ui.autocomplete.css4
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/visual/menu/nested2.html b/tests/visual/menu/nested2.html
index 837fb7568..7bd494647 100644
--- a/tests/visual/menu/nested2.html
+++ b/tests/visual/menu/nested2.html
@@ -10,8 +10,15 @@
<script type="text/javascript" src="../../../ui/jquery.ui.position.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.autocomplete.js"></script>
<script type="text/javascript" src="../../../external/jquery.bgiframe-2.1.1.js"></script>
+ <script type="text/javascript" src="http://jqueryui.com/themeroller/themeswitchertool/"></script>
<script type="text/javascript">
$(function() {
+ $.fn.themeswitcher && $('<div/>').css({
+ position: "absolute",
+ right: 10,
+ top: 10
+ }).appendTo(document.body).themeswitcher();
+
$.fn.position2 = function(options) {
return this.css({
top: 0,
diff --git a/themes/base/jquery.ui.autocomplete.css b/themes/base/jquery.ui.autocomplete.css
index 1263f935d..9c9ca7584 100644
--- a/themes/base/jquery.ui.autocomplete.css
+++ b/themes/base/jquery.ui.autocomplete.css
@@ -20,6 +20,10 @@
.ui-menu .ui-menu-item {
margin:0;
padding: 0;
+ zoom: 1;
+ float: left;
+ clear: left;
+ width: 100%;
}
.ui-menu .ui-menu-item a {
text-decoration:none;