Skip to content

Commit

Permalink
Fixing styles for menu to work properly in IEs, even with nested menu…
Browse files Browse the repository at this point in the history
…s (updated the nested-menu protoype nested2.html with themeroller) - kills the hover-border in IE6, but we have to live with that
  • Loading branch information
jzaefferer committed Mar 24, 2010
1 parent f2873b6 commit b7ad981
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/visual/menu/nested2.html
Expand Up @@ -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,
Expand Down
4 changes: 4 additions & 0 deletions themes/base/jquery.ui.autocomplete.css
Expand Up @@ -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;
Expand Down

0 comments on commit b7ad981

Please sign in to comment.