Difference between revisions of "Template:Reading2"
Line 91: | Line 91: | ||
} | } | ||
var subM = document.getElementById("SubMenu"); | var subM = document.getElementById("SubMenu"); | ||
− | |||
subM.innerHTML= submenuHTML; | subM.innerHTML= submenuHTML; | ||
var offset = (100*index); | var offset = (100*index); | ||
− | subM.style.left = | + | subM.style.left = offset + 'px'; |
} | } | ||
Revision as of 12:17, 18 August 2015