Team:UT Dallas/Infographics

From 2012.igem.org

(Difference between revisions)
Line 53: Line 53:
       if(prev_year_num!=year_num)
       if(prev_year_num!=year_num)
       {
       {
-
           //document.getElementById('visualization').innerHTML='Loading . . .';
+
           if(prev_year_num!=0)
-
          $("#visualization").fadeOut("slow");
+
          {
-
          geochart.draw(data,options);
+
              //document.getElementById('visualization').innerHTML='Loading . . .';
-
          document.getElementById('year_no').innerHTML='Year '+year_num;
+
              $("#visualization").fadeOut("slow");
-
          prev_year_num=year_num;
+
              geochart.draw(data,options);
-
          $("#visualization").fadeIn("slow");
+
              document.getElementById('year_no').innerHTML='Year '+year_num;
 +
              prev_year_num=year_num;
 +
              $("#visualization").fadeIn("slow");
 +
          }
 +
          else
 +
          {
 +
              geochart.draw(data,options);
 +
              document.getElementById('year_no').innerHTML='Year '+year_num;
 +
              prev_year_num=year_num;
 +
          }
            
            
       }
       }

Revision as of 03:33, 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