Фарқият байни намунаҳои "Корбар:Aidan Kehoe/monobook.js"

Reorganise functions a little.
(Hide the logo instead of deleting it.)
(Reorganise functions a little.)
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
 
function menu_move_to_top(menu_name) {
menu = document.getElementById(menu_name);
if (menu) {
p = menu.parentNode;
p.removeChild(menu);
p.insertBefore( menu, p.firstChild );
}
}
 
function menu_move_to_bottom (menu_name)
{
menu = document.getElementById(menu_name);
if (menu) {
p = menu.parentNode;
p.removeChild(menu);
p.insertAfter( menu, p.lastChild );
}
}
 
addOnloadHook(function (){
];
while ( menu_name = menu_names.pop() ) {
menu_move_to_top menu = document.getElementById(menu_name);
if (menu) {
p = menu.parentNode;
p.removeChild(menu);
p.insertBefore( menu, p.firstChild );
}
}
 
menu.style.display=('none');
}
 
});
176

edits