User:Fotieno/vector.js

//collaps default the TOC on opening an pages function hideToc { var toc = document.getElementById('toc').getElementsByTagName('ul')[0]; var toggleLink = document.getElementById('togglelink'); toc.style.display = 'none'; } hideToc;