User:Inarius/bluecloud.js: Difference between revisions
From StrategyWiki, the video game walkthrough and strategy guide wiki
no edit summary
No edit summary |
No edit summary |
||
Line 36: | Line 36: | ||
for(var i = 0; i < len; i++) | for(var i = 0; i < len; i++) | ||
{ | { | ||
alert('for: ' + i); | alert('for: ' + i); | ||
var thisNavToc = navTocAppend.childNodes[i]; | var thisNavToc = navTocAppend.childNodes[i]; | ||
Line 47: | Line 46: | ||
thisNavToc.parentNode.removeChild(thisNavToc); | thisNavToc.parentNode.removeChild(thisNavToc); | ||
alert('3'); | alert('3'); | ||
thisNavTocClone.style.display = 'block'; | |||
alert('4'); | |||
navRight.appendChild( thisNavTocClone ); | navRight.appendChild( thisNavTocClone ); | ||
alert('5'); | alert('5'); | ||
} | } |