瀏覽代碼

#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 年之前
父節點
當前提交
1251927952
共有 2 個文件被更改,包括 2 次插入2 次删除
  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() {