Difference between revisions of "Template:Reading2"
(2 intermediate revisions by the same user not shown) | |||
Line 17: | Line 17: | ||
pagenames.push(["Lab Book", "Lab Notes", "Data"]); | pagenames.push(["Lab Book", "Lab Notes", "Data"]); | ||
pagenames.push(["Experiments", "Protocols", "Experiments"]); | pagenames.push(["Experiments", "Protocols", "Experiments"]); | ||
− | pagenames.push(["Human Practices", "Human Practices", "Public Engagement | + | pagenames.push(["Human Practices", "Human Practices", "Public Engagement"]); |
pagenames.push(["Attributions"]); | pagenames.push(["Attributions"]); | ||
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.6*index); |
subM.style.left = offset + '%'; | subM.style.left = offset + '%'; | ||
} | } |
Latest revision as of 18:06, 18 September 2015