Team:Virginia/Tabs

From 2014.igem.org

(Difference between revisions)
Line 36: Line 36:
           };
           };
-
 
+
          var chart = new google.visualization.GeoChart(document.getElementById('regions_div'));
 +
  var chart2 = new google.visualization.GeoChart(document.getElementById('regions_div2'));
 +
          chart.draw(data, options);
 +
chart2.draw(data2, options);
Line 46: Line 49:
  <script>
  <script>
   $(function() {
   $(function() {
-
          var chart = new google.visualization.GeoChart(document.getElementById('regions_div'));
+
 
-
  var chart2 = new google.visualization.GeoChart(document.getElementById('regions_div2'));
+
-
          chart.draw(data, options);
+
-
chart2.draw(data2, options);
+
     $( "#tabs" ).tabs();
     $( "#tabs" ).tabs();
   });
   });

Revision as of 18:14, 16 October 2014

jQuery UI Tabs - Default functionality