diff --git a/simplemenu.css b/simplemenu.css index bf1da47d..9bbe8228 100644 --- a/simplemenu.css +++ b/simplemenu.css @@ -14,7 +14,7 @@ background:#ddd; border-bottom:1px solid #999; font:11px Verdana, Helvetica, sans-serif; left:0; -position:static; +position:fixed; top:0; width:100%; height:21px; diff --git a/simplemenu.js b/simplemenu.js index 3f30ba8d..fed20cf4 100644 --- a/simplemenu.js +++ b/simplemenu.js @@ -6,6 +6,7 @@ $(document).ready(function() { // insert extra
so menu doesn't overlap theme $('').prependTo('body'); + $('body').css('margin-top', '23px'); // Drupal menu callback $('#simplemenu').load(basePath + 'simplemenu/menu', function() {