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 = "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>';
 
}
 
}
 
}
 
}
Line 74: Line 74:
 
Button.style.backgroundColor = '#e35a61';
 
Button.style.backgroundColor = '#e35a61';
 
Button.style.Color = '#000000';
 
Button.style.Color = '#000000';
 +
Button.style.borderRadius = "0em";
 
if(index == -1){
 
if(index == -1){
 
 
Line 102: Line 103:
  
 
function dullMenu(Button){
 
function dullMenu(Button){
 +
Button.style.borderRadius = "1em";
 
Button.style.backgroundColor = '#d8131d';
 
Button.style.backgroundColor = '#d8131d';
 
Button.style.Color = '#ffffff';
 
Button.style.Color = '#ffffff';

Revision as of 11:03, 5 September 2015