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
 
(88 intermediate revisions by the same user not shown)
Line 1: Line 1:
var topul = document.getElementById('toc').getElementsByTagName('ul');
 
var uls = topul[0].getElementsByTagName('ul');
alert(uls[0].clientWidth);
for(var i=0; var len=uls.length; i<len; ++i) {
alert(uls[i].clientWidth);
}

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