Difference between revisions of "Template:ReadingTeamFunctions"
Line 70: | Line 70: | ||
while(newline){ | while(newline){ | ||
teamHTML += '<tr>'; | teamHTML += '<tr>'; | ||
− | for(i2 = 0; 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/2015' + pictureName[index] + ');"></div></td>'; | ||
index += 1;} | index += 1;} |
Revision as of 14:49, 18 August 2015