Difference between revisions of "Template:HSNU-TAIPEI/members js"
Line 48: | Line 48: | ||
var generateProfile = function(person) { | var generateProfile = function(person) { | ||
var personName = person["Name"], | var personName = person["Name"], | ||
− | |||
personSrc = person["Source"]; | personSrc = person["Source"]; | ||
var profile = document.createElement('div'); | var profile = document.createElement('div'); | ||
var content = generatePersonImg(personName, personSrc); | var content = generatePersonImg(personName, personSrc); | ||
+ | content += generatePersonFigure(personName) | ||
profile.setAttribute('class', 'profile'); | profile.setAttribute('class', 'profile'); | ||
profile.innerHTML = content; | profile.innerHTML = content; |
Revision as of 12:41, 2 July 2015