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:10%; float:left; text-align:center;"><p style = "font-size: 12px; color: #ffffff;text-decoration:none;">' + pagenames[i1][0] + '</p></div>'; | + | menuHTML += '<div onclick="gotopage(address['+i1+'][0])" onmouseout="dullMenu(this)"onmouseover="lightUpMenu(this, ' + i1 + ')" style = "border-radius: 1em; height:100%; width:10%; 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:10%; 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:10%; float:left; text-align:center;"><p style = " border-radius: 1em; font-size: 12px; color: #ffffff;text-decoration:none;">' + pagenames[i1][0] + '</p></div>'; |
} | } | ||
} | } |
Revision as of 10:57, 5 September 2015