User:Locke/common.js: Difference between revisions

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
No edit summary
(moved to Tabs2.js)
Tag: Blanking
 
(83 intermediate revisions by the same user not shown)
Line 1: Line 1:
var uls = document.getElementById('toc').getElementsByTagName('ul')[0].getElementsByTagName('ul');
 
for(var i=0; i<uls.length; ++i) {
var wdth = uls[i].clientWidth + 1;
alert(wdth);
uls[i].style.width = uls[i].clientWidth + 1;
}

Latest revision as of 08:47, June 27, 2020