diff options
author | jzaefferer <joern.zaefferer@gmail.com> | 2010-03-24 17:01:30 -0400 |
---|---|---|
committer | jzaefferer <joern.zaefferer@gmail.com> | 2010-03-24 17:01:30 -0400 |
commit | b7ad981e6965ecf92882b98ca99bb3108748ffe7 (patch) | |
tree | 30b00056c7c730b4353854ff168c21730c6f9b57 | |
parent | f2873b6ebf427edd013eaef37adf5cbd4c06a1cf (diff) | |
download | jquery-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.html | 7 | ||||
-rw-r--r-- | themes/base/jquery.ui.autocomplete.css | 4 |
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; |