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