Difference between revisions of "Template:Reading2"
Line 60: | Line 60: | ||
for(i1 = 0; i1 < pagenames.length; i1++){ | for(i1 = 0; i1 < pagenames.length; i1++){ | ||
if(pagenames[i1].length <= 1){ | if(pagenames[i1].length <= 1){ | ||
− | menuHTML += '<div onclick="gotopage(address['+i1+'][0])" onmouseout="dullMenu(this)"onmouseover="lightUpMenu(this, ' + i1 + ')" style = "height:100%; width: | + | menuHTML += '<div onclick="gotopage(address['+i1+'][0])" onmouseout="dullMenu(this)"onmouseover="lightUpMenu(this, ' + i1 + ')" style = "height:100%; width:10px; float:left; text-align:center;"><p style = "font-size: 12px; color: #ffffff;text-decoration:none;">' + pagenames[i1][0] + '</p></div>'; |
}else{ | }else{ | ||
menuHTML += '<div onmouseout="dullMenu(this)"onmouseover="lightUpMenu(this, ' + i1 + ')" style = "height:100%; width:120px; float:left; text-align:center;"><p style = "font-size: 12px; color: #ffffff;text-decoration:none;">' + pagenames[i1][0] + '</p></div>'; | menuHTML += '<div onmouseout="dullMenu(this)"onmouseover="lightUpMenu(this, ' + i1 + ')" style = "height:100%; width:120px; float:left; text-align:center;"><p style = "font-size: 12px; color: #ffffff;text-decoration:none;">' + pagenames[i1][0] + '</p></div>'; | ||
Line 178: | Line 178: | ||
</div> | </div> | ||
− | <div id = "SubMenu" style="font-size: 15px; visibility:hidden; font-size:10px; width:120px; background-Color:#d8131d; color:#ffffff;"> | + | <div id = "SubMenu" style="font-size: 15px; visibility:hidden; position:absolute; font-size:10px; width:120px; background-Color:#d8131d; color:#ffffff;"> |
</div> | </div> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 12:04, 18 August 2015