Difference between revisions of "Template:ReadingTeamFunctions"

Line 49: Line 49:
 
while(newline){
 
while(newline){
 
teamHTML += '<tr>';
 
teamHTML += '<tr>';
for(i2 = 0; i2 < 3; i2++){
+
for(i2 = 0; i2 < 4; i2++){
 
if(index < members.length){teamHTML += '<td width = "25%" valign="bottom" align="left"><p style=\"font-size:130%\">' + members[index][0] + '</p><div style="border-style:solid; border-color:#ffffff; border-width:5px; width: 75%; border-radius:100%; height: 0; padding-bottom: 75%; background-size:cover; background-image:url(https://static.igem.org/mediawiki/2015' + members[index][1] + ');" onmouseover="changeBioContent(' + index + ')"></div></td>';
 
if(index < members.length){teamHTML += '<td width = "25%" valign="bottom" align="left"><p style=\"font-size:130%\">' + members[index][0] + '</p><div style="border-style:solid; border-color:#ffffff; border-width:5px; width: 75%; border-radius:100%; height: 0; padding-bottom: 75%; background-size:cover; background-image:url(https://static.igem.org/mediawiki/2015' + members[index][1] + ');" onmouseover="changeBioContent(' + index + ')"></div></td>';
 
index += 1;}
 
index += 1;}

Revision as of 00:24, 8 August 2015