Pārlūkot izejas kodu

#108098 fix cursor being hidden in firefox, patch by quicksketch. note, the menu no longer stays on top as you scroll, however forms are usable once again. this feature will return in version 3 when it's rewritten to be 100% jQuery.

Ted Serbinski 18 gadi atpakaļ
vecāks
revīzija
1251927952
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 1 1
      simplemenu.css
  2. 1 1
      simplemenu.js

+ 1 - 1
simplemenu.css

@@ -14,7 +14,7 @@ background:#eee;
 border-bottom:1px solid #a3a3a3;
 font:12px Arial, Helvetica, sans-serif;
 left:0;
-position:fixed;
+position:static;
 top:0;
 width:100%;
 }

+ 1 - 1
simplemenu.js

@@ -5,7 +5,7 @@ $(document).ready(function() {
   var basePath = Drupal.settings.menu_bar.basePath;
   
   // insert extra <br /> so menu doesn't overlap theme
-  $('body').prepend('<ul id="menubar"></ul><br />');
+  $('body').prepend('<ul id="menubar" class="clear-block"></ul>');
   
   // Drupal menu callback
   $('#menubar').load(basePath + 'menu_bar/menu', function() {