]> source.dussan.org Git - jquery-ui.git/commitdiff
Fixing styles for menu to work properly in IEs, even with nested menus (updated the...
authorjzaefferer <joern.zaefferer@gmail.com>
Wed, 24 Mar 2010 21:01:30 +0000 (17:01 -0400)
committerjzaefferer <joern.zaefferer@gmail.com>
Wed, 24 Mar 2010 21:01:30 +0000 (17:01 -0400)
tests/visual/menu/nested2.html
themes/base/jquery.ui.autocomplete.css

index 837fb7568481f56be4a1b68e7e98723b4c760c28..7bd494647b2052a8b161610df3211a39474407f3 100644 (file)
        <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,
index 1263f935d67285ff0d83644ac1624aa3087c4d7b..9c9ca7584941110799ac197581ef437cad663ed5 100644 (file)
 .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;