Template:Team:Waterloo/JS/WaterlooTeam
From 2014.igem.org
(Difference between revisions)
Line 5: | Line 5: | ||
var loc = team_members[num]; | var loc = team_members[num]; | ||
var htmlStr = '<img class="profile" src="'.concat(loc.url.toString(),'"><br><h2>',loc.name.toString(),'</h2><h3><br>',loc.teams.toString(),'</h3><div style="text-align: left;">',loc.description.toString(),'</div>'); | var htmlStr = '<img class="profile" src="'.concat(loc.url.toString(),'"><br><h2>',loc.name.toString(),'</h2><h3><br>',loc.teams.toString(),'</h3><div style="text-align: left;">',loc.description.toString(),'</div>'); | ||
- | |||
} | } | ||
else if (hashName == 'allTeams'){ | else if (hashName == 'allTeams'){ | ||
var loc = allTeams[num]; | var loc = allTeams[num]; | ||
var htmlStr = '<img class="profile" src="'.concat(loc.url.toString(),'"><br><h2>',loc.name.toString(),'</h2><br><div style="text-align: left;">',loc.description.toString(),'</div>'); | var htmlStr = '<img class="profile" src="'.concat(loc.url.toString(),'"><br><h2>',loc.name.toString(),'</h2><br><div style="text-align: left;">',loc.description.toString(),'</div>'); | ||
- | |||
} | } | ||
$("#infoView").html(htmlStr); | $("#infoView").html(htmlStr); |
Revision as of 15:21, 5 October 2014