Team:UT Dallas/Infographics

From 2012.igem.org

(Difference between revisions)
Line 29: Line 29:
  };
  };
    var data=[];
    var data=[];
-
var msg="Year 2011";
 
var data_2007 = google.visualization.arrayToDataTable([
var data_2007 = google.visualization.arrayToDataTable([
['Year','Food/Energy','Environment','Foundational Research','Information Processing','Health/Medicine','Not Specified'],
['Year','Food/Energy','Environment','Foundational Research','Information Processing','Health/Medicine','Not Specified'],
Line 65: Line 64:
           });
           });
           chart.draw(data, options);
           chart.draw(data, options);
-
          setTimeout("document.getElementById('year_no_tracks').innerHTML=msg;",900);
 
     }
     }
     button_2011.onclick = function() {
     button_2011.onclick = function() {
       data=data_2011;
       data=data_2011;
-
      msg='Year 2011';
+
setTimeout("document.getElementById('year_no_tracks').innerHTML='Year 2011';",900);
       drawChart(button_2011);
       drawChart(button_2011);
     }
     }
     button_2010.onclick = function() {
     button_2010.onclick = function() {
  data=data_2010;
  data=data_2010;
-
msg='Year 2010';
+
setTimeout("document.getElementById('year_no_tracks').innerHTML='Year 2010';",900);
       drawChart(button_2010);
       drawChart(button_2010);
     }
     }
     button_2009.onclick = function() {
     button_2009.onclick = function() {
  data=data_2009;
  data=data_2009;
-
msg='Year 2009';
+
setTimeout("document.getElementById('year_no_tracks').innerHTML='Year 2009';",900);
       drawChart(button_2009);
       drawChart(button_2009);
     }
     }
     button_2008.onclick = function() {
     button_2008.onclick = function() {
  data=data_2008;
  data=data_2008;
-
msg='Year 2008';
+
setTimeout("document.getElementById('year_no_tracks').innerHTML='Year 2008';",900);
       drawChart(button_2008);
       drawChart(button_2008);
     }
     }
     button_2007.onclick = function() {
     button_2007.onclick = function() {
  data=data_2007;
  data=data_2007;
-
msg='Year 2007';
+
setTimeout("document.getElementById('year_no_tracks').innerHTML='Year 2007';",900);
       drawChart(button_2007);
       drawChart(button_2007);
     }
     }

Revision as of 08:29, 25 September 2012

Infographics

This year, it has been X years since iGEM first started. We wanted to highlight some of the defining moments and show them to the rest of the iGEM world through these infographics! Enjoy!
Year 2012
Start writing stuffs here
Year 2011
Again start writing stuffs here