Template:Team:Waterloo/JS/WaterlooTeam
From 2014.igem.org
(Difference between revisions)
(adds Team Waterloo description) |
(changes name to all_teams) |
||
Line 7: | Line 7: | ||
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 == ' | + | else if (hashName == 'all_teams'){ |
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>'); | ||
Line 14: | Line 14: | ||
} | } | ||
- | var | + | var all_teams = [ |
{ | { | ||
name: 'Team Waterloo', | name: 'Team Waterloo', |
Revision as of 19:46, 17 October 2014