Difference between revisions of "Template:Reading2"

Line 15: Line 15:
 
pagenames.push(["Project", "Description", "Transformations", "Fuel Cell", "Safety", "Results"]);
 
pagenames.push(["Project", "Description", "Transformations", "Fuel Cell", "Safety", "Results"]);
 
pagenames.push(["Parts"]);
 
pagenames.push(["Parts"]);
pagenames.push(["Lab</br>Book", "Lab Notes", "Data"]);
+
pagenames.push(["Lab</br style="margin: 5px 0;">Book", "Lab Notes", "Data"]);
 
pagenames.push(["Lab Work", "Protocols", "Experiments"]);
 
pagenames.push(["Lab Work", "Protocols", "Experiments"]);
pagenames.push(["Human</br>Practices", "Human</br>Practices", "Public</br>Engagement", "Collaborations"]);
+
pagenames.push(["Human</br style="margin: 5px 0;">Practices", "Human</br style="margin: 5px 0;">Practices", "Public</br style="margin: 5px 0;">Engagement", "Collaborations"]);
 
pagenames.push(["Modelling"]);
 
pagenames.push(["Modelling"]);
 
pagenames.push(["Application"]);
 
pagenames.push(["Application"]);
Line 62: Line 62:
 
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;"><text  style = "font-size: 12px; color: #ffffff;text-decoration:none;">' + pagenames[i1][0] + '</text ></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;"><text  style = "font-size: 12px; color: #ffffff;text-decoration:none;">' + pagenames[i1][0] + '</text ></div>';
 
}else{
 
}else{
menuHTML += '<div onmouseout="dullMenu(this)"onmouseover="lightUpMenu(this, ' + i1 + ')" style = "border-radius:1em; height:100%; width:10%; float:left; text-align:center;"><text  style = "font-size: 12px; color: #ffffff;text-decoration:none;">' + pagenames[i1][0] + '</text ></div>';
+
menuHTML += '<div onmouseout="dullMenu(this)"onmouseover="lightUpMenu(this, ' + i1 + ')" style = "border-radius:1em; height:100%; width:10%; float:left; text-align:center;"><text  style = "line-heightfont-size: 12px; color: #ffffff;text-decoration:none;">' + pagenames[i1][0] + '</text ></div>';
 
}
 
}
 
}
 
}

Revision as of 00:29, 9 September 2015