smooth initial loading of menu, thanks to craq for the tip
This commit is contained in:
parent
0c661bcbd4
commit
1ed6151591
@ -17,6 +17,7 @@ left:0;
|
||||
position:static;
|
||||
top:0;
|
||||
width:100%;
|
||||
height:22px;
|
||||
}
|
||||
|
||||
ul#menubar li {
|
||||
|
@ -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" class="clear-block"></ul>');
|
||||
$('<ul id="menubar" class="clear-block"></ul>').prependTo('body').slideDown(400);
|
||||
|
||||
// Drupal menu callback
|
||||
$('#menubar').load(basePath + 'menu_bar/menu', function() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user