Difference between revisions of "Template:Reading2"

Line 96: Line 96:
 
var subM = document.getElementById("SubMenu");
 
var subM = document.getElementById("SubMenu");
 
subM.innerHTML= submenuHTML;
 
subM.innerHTML= submenuHTML;
var offset = 7.5 + (8.5*index);
+
var offset = 7.5 + (9.4*index);
 
subM.style.left = offset + '%';
 
subM.style.left = offset + '%';
 
}
 
}
Line 280: Line 280:
 
</div>
 
</div>
 
 
<div id = "SubMenu" style="border-bottom-left-radius: 1em; border-bottom-right-radius: 1em; font-size: 15px; visibility:hidden; position:absolute; font-size:10px; width:7.6%; background-Color:#d8131d; color:#ffffff;">
+
<div id = "SubMenu" style="border-bottom-left-radius: 1em; border-bottom-right-radius: 1em; font-size: 15px; visibility:hidden; position:absolute; font-size:10px; width:9.4%; background-Color:#d8131d; color:#ffffff;">
 
</div>
 
</div>
 
</body>
 
</body>
 
</html>
 
</html>

Revision as of 14:17, 17 September 2015