Team:Vanderbilt/AttributionsSubPageBuilder
From 2014.igem.org
(Difference between revisions)
(Created page with " function AttributionsSubPageBuilder() { var subPage = new SubPageBuilder(); subPage.maxSubPage = 2; subPage.getMaxSubPage = function() { return subPage.maxS...") |
|||
(2 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | |||
function AttributionsSubPageBuilder() { | function AttributionsSubPageBuilder() { | ||
var subPage = new SubPageBuilder(); | var subPage = new SubPageBuilder(); | ||
Line 11: | Line 10: | ||
switch(subPageNum){ | switch(subPageNum){ | ||
case 1: | case 1: | ||
- | |||
subPage.createIntro(); | subPage.createIntro(); | ||
subPage.createProfFacul(); | subPage.createProfFacul(); | ||
Line 23: | Line 21: | ||
subPage.createIntro = function() { | subPage.createIntro = function() { | ||
- | |||
var header = document.createElement("header"); | var header = document.createElement("header"); | ||
header.appendChild(document.createTextNode("Our Attributions")); | header.appendChild(document.createTextNode("Our Attributions")); | ||
- | |||
var text = "While Vanderbilt University's iGEM team is driven by its undergraduates, our work is indebted to " + | var text = "While Vanderbilt University's iGEM team is driven by its undergraduates, our work is indebted to " + | ||
Line 36: | Line 32: | ||
"ally thank each one of them."; | "ally thank each one of them."; | ||
- | |||
var p = subPage.createP(text); | var p = subPage.createP(text); | ||
- | |||
leftPageBuilder.appendChild(header); | leftPageBuilder.appendChild(header); | ||
leftPageBuilder.appendChild(p); | leftPageBuilder.appendChild(p); | ||
- | |||
}; | }; | ||
Line 48: | Line 41: | ||
var header = document.createElement("header"); | var header = document.createElement("header"); | ||
header.appendChild(document.createTextNode("Professors and Faculty")); | header.appendChild(document.createTextNode("Professors and Faculty")); | ||
- | var img1 = subPage.createPhoto("VU_Chrissy_marasco.JPG", | + | var img1 = subPage.createPhoto("https://static.igem.org/mediawiki/parts/8/8f/VU_Chrissy_marasco.JPG", |
"Chrissy Marasco", | "Chrissy Marasco", | ||
300, 300, | 300, 300, | ||
Line 54: | Line 47: | ||
"contributions to both the administrative and scientific work of our team"); | "contributions to both the administrative and scientific work of our team"); | ||
- | var img2 = subPage.createPhoto("VU_Kevin_seale.jpg", | + | var img2 = subPage.createPhoto("https://static.igem.org/mediawiki/parts/c/c7/VU_Kevin_seale.jpg", |
"Kevin Seale", | "Kevin Seale", | ||
300, 300, | 300, 300, | ||
Line 60: | Line 53: | ||
"space and equipment, and offering assistance through the SyBBURE program"); | "space and equipment, and offering assistance through the SyBBURE program"); | ||
- | var img3 = subPage.createPhoto("VU_Kathy_friedman.jpg", | + | var img3 = subPage.createPhoto("https://static.igem.org/mediawiki/parts/b/bd/VU_Kathy_friedman.jpg", |
"Kathy Friedman", | "Kathy Friedman", | ||
300, 300, | 300, 300, | ||
Line 66: | Line 59: | ||
" assistance during project planing and troubleshooting"); | " assistance during project planing and troubleshooting"); | ||
- | var img4 = subPage.createPhoto("VU_Ian_macara.jpg", | + | var img4 = subPage.createPhoto("https://static.igem.org/mediawiki/parts/c/c7/VU_Ian_macara.jpg", |
"Ian Macara", | "Ian Macara", | ||
300, 300, | 300, 300, | ||
"Ian Macara for providing our team with lab space, materials, and equipment for the fall semester and beyond"); | "Ian Macara for providing our team with lab space, materials, and equipment for the fall semester and beyond"); | ||
- | var img5 = subPage.createPhoto("VU_Mark_woelfle.jpg", | + | var img5 = subPage.createPhoto("https://static.igem.org/mediawiki/parts/5/5a/VU_Mark_woelfle.jpg", |
"Mark Woelfle", | "Mark Woelfle", | ||
300, 300, | 300, 300, | ||
"Mark Woelfle for providing our team with lab space and equipment for the spring semester"); | "Mark Woelfle for providing our team with lab space and equipment for the spring semester"); | ||
- | var img6 = subPage.createPhoto("VU_Amanda_benson.jpg", | + | var img6 = subPage.createPhoto("https://static.igem.org/mediawiki/parts/8/82/VU_Amanda_benson.jpg", |
"Amanda Benson", | "Amanda Benson", | ||
300, 300, | 300, 300, | ||
Line 93: | Line 86: | ||
var header = document.createElement("header"); | var header = document.createElement("header"); | ||
header.appendChild(document.createTextNode("Staff and Resources")); | header.appendChild(document.createTextNode("Staff and Resources")); | ||
- | var img1 = subPage.createPhoto("VU_Greenhouse_ertelt.jpg", | + | var img1 = subPage.createPhoto("https://static.igem.org/mediawiki/parts/7/7b/VU_Greenhouse_ertelt.jpg", |
"Vanderbilt Greenhouse and Jonathan Ertelt", | "Vanderbilt Greenhouse and Jonathan Ertelt", | ||
300, 300, | 300, 300, | ||
"VU Greenhouse and Jonathan Ertelt for assistance growing and maintaining our various plants"); | "VU Greenhouse and Jonathan Ertelt for assistance growing and maintaining our various plants"); | ||
- | var img2 = subPage.createPhoto("VU_mass_spec.jpg", | + | var img2 = subPage.createPhoto("https://static.igem.org/mediawiki/parts/3/34/VU_mass_spec.jpg", |
"Mass Spec at Vanderbilt Mass Spectrometry Core", | "Mass Spec at Vanderbilt Mass Spectrometry Core", | ||
300, 300, | 300, 300, | ||
Line 136: | Line 129: | ||
header.appendChild(document.createTextNode("Sponsors")); | header.appendChild(document.createTextNode("Sponsors")); | ||
- | var img1 = [subPage.createPlainIMG("VU_SyBBURE.png", "SyBBURE", 300, 146), | + | var img1 = [subPage.createPlainIMG("https://static.igem.org/mediawiki/parts/f/f4/VU_SyBBURE.png", "SyBBURE", 300, 146), |
- | subPage.createPlainIMG("VU_VIIBRE.png", "VIIBRE", 300, 69)]; | + | subPage.createPlainIMG("https://static.igem.org/mediawiki/parts/5/53/VU_VIIBRE.png", "VIIBRE", 300, 69)]; |
- | var img2 = [subPage.createPlainIMG("VU_Biomatters.png", "Biomatters", 300, 101), | + | var img2 = [subPage.createPlainIMG("https://static.igem.org/mediawiki/parts/6/66/VU_Biomatters.png", "Biomatters", 300, 101), |
- | subPage.createPlainIMG("VU_School_of_Engineering.jpg", "Vanderbilt School of Engineering", 300, 51)]; | + | subPage.createPlainIMG("https://static.igem.org/mediawiki/parts/0/0c/VU_School_of_Engineering.jpg", "Vanderbilt School of Engineering", 300, 51)]; |
var table = document.createElement("table"); | var table = document.createElement("table"); |
Latest revision as of 23:58, 25 January 2015
function AttributionsSubPageBuilder() {
var subPage = new SubPageBuilder(); subPage.maxSubPage = 2;
subPage.getMaxSubPage = function() { return subPage.maxSubPage; };
subPage.createSubPage = function(subPageNum) { switch(subPageNum){ case 1: subPage.createIntro(); subPage.createProfFacul(); break; case 2: subPage.createStaffRes(); subPage.createSponsors(); break; } };
subPage.createIntro = function() { var header = document.createElement("header"); header.appendChild(document.createTextNode("Our Attributions"));
var text = "While Vanderbilt University's iGEM team is driven by its undergraduates, our work is indebted to " + "the generosity of our mentors and gracious sponsors. Vanderbilt iGEM prides itself in being a team run by un" + "dergraduates, for undergraduates. All project design and data analysis, lab work and experimentation, fundr" + "aising and outreach, and all the other work done by the team was all preformed by undergraduate student vo" + "lunteers. However outside companies, faculty and staff, institutions, and individuals all have made contri" + "butions that have been essential in our team's growth and success. We would like to take the time to speci" + "ally thank each one of them.";
var p = subPage.createP(text);
leftPageBuilder.appendChild(header); leftPageBuilder.appendChild(p); };
subPage.createProfFacul = function() { var header = document.createElement("header"); header.appendChild(document.createTextNode("Professors and Faculty")); var img1 = subPage.createPhoto("", "Chrissy Marasco", 300, 300, "Dr. Chrissy Marasco for her role as the team's principle faculty adviser, with " + "contributions to both the administrative and scientific work of our team");
var img2 = subPage.createPhoto("", "Kevin Seale", 300, 300, "Kevin Seale for his role as our team's administrative adviser, providing lab " + "space and equipment, and offering assistance through the SyBBURE program");
var img3 = subPage.createPhoto("", "Kathy Friedman", 300, 300, "Kathy Friedman for her role as our team's scientific adviser, offering technical" + " assistance during project planing and troubleshooting");
var img4 = subPage.createPhoto("", "Ian Macara", 300, 300, "Ian Macara for providing our team with lab space, materials, and equipment for the fall semester and beyond");
var img5 = subPage.createPhoto("", "Mark Woelfle", 300, 300, "Mark Woelfle for providing our team with lab space and equipment for the spring semester");
var img6 = subPage.createPhoto("", "Amanda Benson", 300, 300, "Amanda Benson for her technical support and guiding collaboration with Ravenwood High School's iGEM team");
rightPageBuilder.appendChild(header); rightPageBuilder.appendChild(img1); rightPageBuilder.appendChild(img2); rightPageBuilder.appendChild(img3); rightPageBuilder.appendChild(img4); rightPageBuilder.appendChild(img5); rightPageBuilder.appendChild(img6); };
subPage.createStaffRes = function() { var header = document.createElement("header"); header.appendChild(document.createTextNode("Staff and Resources")); var img1 = subPage.createPhoto("", "Vanderbilt Greenhouse and Jonathan Ertelt", 300, 300, "VU Greenhouse and Jonathan Ertelt for assistance growing and maintaining our various plants");
var img2 = subPage.createPhoto("", "Mass Spec at Vanderbilt Mass Spectrometry Core", 300, 300, "Vanderbilt Mass Spectrometry Core for agreeing to analyze our samples for terpenoid content and " + "discussing ways to extract terpene for analysis");
var text = "Dr. Steven Baskauf for general assistance in running our lab."; var p1 = subPage.createP(text);
text = "Charles Sissom and Sara Samoray for protocol advice, equipment t" + "raining, and assistance in running our lab."; var p2 = subPage.createP(text);
text = "Anthony Tharp for access to common equipment resources."; var p3 = subPage.createP(text);
text = "Vanderbilt Environmental Health and Safety for training in pro" + "per lab practice and safe waste disposal."; var p4 = subPage.createP(text);
text = "University of Massachusetts Medical Center, especially Dr. Aviva Joseph, for tec" + "hnical advice related to our genetic constructs."; var p5 = subPage.createP(text);
document.getElementById("left_page").appendChild(header); document.getElementById("left_page").appendChild(img1); document.getElementById("left_page").appendChild(img2); document.getElementById("left_page").appendChild(p1); document.getElementById("left_page").appendChild(p2); document.getElementById("left_page").appendChild(p3); document.getElementById("left_page").appendChild(p4); document.getElementById("left_page").appendChild(p5); };
subPage.createSponsors = function() { var header = document.createElement("header"); header.appendChild(document.createTextNode("Sponsors"));
var img1 = [subPage.createPlainIMG("", "SyBBURE", 300, 146), subPage.createPlainIMG("", "VIIBRE", 300, 69)]; var img2 = [subPage.createPlainIMG("", "Biomatters", 300, 101), subPage.createPlainIMG("", "Vanderbilt School of Engineering", 300, 51)];
var table = document.createElement("table"); table.style.width = "80%"; table.style.margin = "auto";
subPage.createRowFromArray(table, img1); subPage.createRowFromArray(table, img2);
document.getElementById("right_page").appendChild(header); document.getElementById("right_page").appendChild(table); };
return subPage;
}