Skip to content

Commit b7ad981

Browse files
committed
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
1 parent f2873b6 commit b7ad981

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

tests/visual/menu/nested2.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,15 @@
1010
<script type="text/javascript" src="../../../ui/jquery.ui.position.js"></script>
1111
<script type="text/javascript" src="../../../ui/jquery.ui.autocomplete.js"></script>
1212
<script type="text/javascript" src="../../../external/jquery.bgiframe-2.1.1.js"></script>
13+
<script type="text/javascript" src="http://jqueryui.com/themeroller/themeswitchertool/"></script>
1314
<script type="text/javascript">
1415
$(function() {
16+
$.fn.themeswitcher && $('<div/>').css({
17+
position: "absolute",
18+
right: 10,
19+
top: 10
20+
}).appendTo(document.body).themeswitcher();
21+
1522
$.fn.position2 = function(options) {
1623
return this.css({
1724
top: 0,

themes/base/jquery.ui.autocomplete.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
.ui-menu .ui-menu-item {
2121
margin:0;
2222
padding: 0;
23+
zoom: 1;
24+
float: left;
25+
clear: left;
26+
width: 100%;
2327
}
2428
.ui-menu .ui-menu-item a {
2529
text-decoration:none;

0 commit comments

Comments
 (0)