User:Datrio/monobook.js

function onArticleNavClick { var div = document.getElementById('mp3-nav');

if(div.style.display == 'block') div.style.display = 'none'; else div.style.display = 'block';

return false; }

function onloadfunctions { // change mp3-navlink links to non-clickables and give them an onclick if(document.getElementById('mp3-navlink') != null) { document.getElementById('mp3-navlink').onclick = onArticleNavClick; document.getElementById('mp3-navlink').getElementsByTagName('a')[0].href = 'javascript:void(0)'; } }

addOnloadHook(onloadfunctions);