Index: trunk/extensions/Narayam/resources/ext.narayam.core.css |
— | — | @@ -67,11 +67,7 @@ |
68 | 68 | x:-moz-any-link { |
69 | 69 | margin-left: 23px; |
70 | 70 | } |
71 | | -/* Enable forcing showing of the menu for accessibility */ |
72 | | -div#narayam-menu:hover div.menu-items, |
73 | | -div#narayam-menu div.menuForceShow { |
74 | | - display: block; |
75 | | -} |
| 71 | + |
76 | 72 | div#narayam-menu ul { |
77 | 73 | position: absolute; |
78 | 74 | background-color: white; |
— | — | @@ -90,34 +86,13 @@ |
91 | 87 | max-height: 360px; |
92 | 88 | overflow-y: auto; |
93 | 89 | } |
94 | | -/* Fixes old versions of FireFox */ |
95 | | -div#narayam-menu ul, |
96 | | -x:-moz-any-link { |
97 | | - min-width: 5em; |
98 | | -} |
99 | | -/* Returns things back to normal in modern versions of FireFox */ |
100 | | -div#narayam-menu ul, |
101 | | -x:-moz-any-link, |
102 | | -x:default { |
103 | | - min-width: 0; |
104 | | -} |
| 90 | + |
105 | 91 | div#narayam-menu li { |
106 | | -/* padding: 0;*/ |
107 | 92 | margin: 0; |
108 | 93 | text-align: left; |
109 | 94 | line-height: 1em; |
110 | 95 | } |
111 | | -/* OVERRIDDEN BY COMPLIANT BROWSERS */ |
112 | | -div#narayam-menu li a { |
113 | | - display: inline-block; |
114 | | - padding: 0.5em; |
115 | | - white-space: nowrap; |
116 | | - color: #0645ad; |
117 | | -} |
118 | | -/* IGNORED BY IE6 */ |
119 | | -div#narayam-menu li > a { |
120 | | - display: block; |
121 | | -} |
| 96 | + |
122 | 97 | div#narayam-menu li.selected a, |
123 | 98 | div#narayam-menu li.selected a:visited { |
124 | 99 | color: #333333; |
Index: trunk/extensions/Narayam/resources/ext.narayam.core.js |
— | — | @@ -652,15 +652,15 @@ |
653 | 653 | // If rtl, add to the right of top personal links. Else, to the left |
654 | 654 | var fn = $( 'body' ).hasClass( 'rtl' ) ? "append" : "prepend"; |
655 | 655 | $( '#p-personal ul:first' )[fn]( $li ); |
656 | | - $( 'body').prepend($menu); |
| 656 | + $( 'body' ).prepend( $menu ); |
657 | 657 | $menu.hide(); |
658 | 658 | $li.hover( function() { |
659 | 659 | $menuItemsDiv.css( 'left', $li.offset().left ); |
660 | | - $menu.slideDown( 'slow' ); |
| 660 | + $menu.show(); |
661 | 661 | }); |
662 | 662 | $menu.hover( function() { |
663 | 663 | }, function() { |
664 | | - $menu.slideUp( 'slow' ); |
| 664 | + $menu.hide(); |
665 | 665 | }); |
666 | 666 | |
667 | 667 | // Workaround for IE bug - activex components like input fields |