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 = "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>';
+
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>';
 
}else{
 
}else{
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>';
+
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>';
 
}
 
}
 
}
 
}
Line 74: Line 74:
 
Button.style.backgroundColor = '#e35a61';
 
Button.style.backgroundColor = '#e35a61';
 
Button.style.Color = '#000000';
 
Button.style.Color = '#000000';
 +
Button.style.border-radius = '0em';
 
if(index == -1){
 
if(index == -1){
 
 
Line 104: Line 105:
 
Button.style.backgroundColor = '#d8131d';
 
Button.style.backgroundColor = '#d8131d';
 
Button.style.Color = '#ffffff';
 
Button.style.Color = '#ffffff';
 +
Button.style.border-radius = '1em';
 
menuactive = 0;
 
menuactive = 0;
 
}
 
}
Line 214: Line 216:
 
 
 
 
<div id = "Menu" style="border-radius: 1em; background-Color:#d8131d; color:#ffffff; font-size:10px; height:40px;">
+
<div id = "Menu" style="background-Color:#d8131d; color:#ffffff; font-size:10px; height:40px;">
 
</div>
 
</div>
 
 

Revision as of 11:01, 5 September 2015