Team:Virginia/Tabs

From 2014.igem.org

(Difference between revisions)
Line 14: Line 14:
<script type="text/javascript">
<script type="text/javascript">
google.load("visualization", "1", {packages:["corechart"]});
google.load("visualization", "1", {packages:["corechart"]});
 +
google.setOnLoadCallback(drawChart2);
function drawChart2() {
function drawChart2() {
var data = google.visualization.arrayToDataTable([
var data = google.visualization.arrayToDataTable([
Line 31: Line 32:
<script type="text/javascript">
<script type="text/javascript">
google.load("visualization", "1", {packages:["corechart"]});
google.load("visualization", "1", {packages:["corechart"]});
 +
google.setOnLoadCallback(drawChart1);
function drawChart1() {
function drawChart1() {
var data = google.visualization.arrayToDataTable([
var data = google.visualization.arrayToDataTable([
Line 47: Line 49:
<!-- Tabs -->
<!-- Tabs -->
 +
<script>
$(function() {
$(function() {
$( "#tabs" ).tabs();
$( "#tabs" ).tabs();
});
});
-
 
+
</script>
<div id="tabs">
<div id="tabs">
<ul>
<ul>

Revision as of 17:59, 16 October 2014

jQuery UI Tabs - Default functionality