Difference between revisions of "Template:Reading2"
Line 94: | Line 94: | ||
var subM = document.getElementById("SubMenu"); | var subM = document.getElementById("SubMenu"); | ||
subM.innerHTML= submenuHTML; | subM.innerHTML= submenuHTML; | ||
− | var offset = 7.5 + (10. | + | var offset = 7.5 + (10.6*index); |
subM.style.left = offset + '%'; | subM.style.left = offset + '%'; | ||
} | } |
Revision as of 10:23, 18 September 2015