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 + ( | + | var offset = 7.5 + (10.9*index); |
subM.style.left = offset + '%'; | subM.style.left = offset + '%'; | ||
} | } |
Revision as of 10:22, 18 September 2015