Difference between revisions of "Template:ReadingTeamFunctions"

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

Revision as of 07:51, 18 September 2015