Template:Team:MIT/Footer

<a class = "col-md-6" href = "https://2015.igem.org/Team:MIT/Coculture"> <img id = "coculture" class = "gif" src = "Team-MIT-Flaskstat2.jpg"> </a> <a class = "col-md-6" href = "https://2015.igem.org/Team:MIT/Chutch"> <img id = "chutch" class = "gif" src = "Team-MIT-Hutchstat2.jpg"> </a> <a class = "col-md-6" href = "https://2015.igem.org/Team:MIT/Ecoli"> <img id = "ecoli" class = "gif" src = "Team-MIT-Platestat2.jpg"> </a> <a class = "col-md-6" href = "https://2015.igem.org/Team:MIT/Modeling"> <img id = "modeling" class = "gif" src = "Team-MIT-Graphstat2.jpg"> </a> <a class = "col-md-6" href = "https://2015.igem.org/Team:MIT/Policy"> <img id = "policy" class = "gif" src = "Team-MIT-Brianstat2.jpg"> </a> <a class = "col-md-6" href = "https://2015.igem.org/Team:MIT/PartsAndCircuits"> <img id = "parts" class = "gif" src = "Team-MIT-Scopestat2.jpg"> </a>

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>

<script> //create image to preload:

   var coculturePreload = new Image();
   $(coculturePreload).attr({
       src: "Team-MIT-Flaskgif2.gif"
   });

//create image to preload:

   var chutchPreload = new Image();
   $(chutchPreload).attr({
       src: "Team-MIT-Hutchgif2.gif"
   });

//create image to preload:

   var ecoliPreload = new Image();
   $(ecoliPreload).attr({
       src: "Team-MIT-Plategif2.gif"
   });
   //create image to preload:
   var modelingPreload = new Image();
   $(modelingPreload).attr({
       src: "Team-MIT-Graphgif2.gif"
   });
   //create image to preload:
   var policyPreload = new Image();
   $(policyPreload).attr({
       src: "Team-MIT-Briangif2.gif"
   });

//create image to preload:

   var partsPreload = new Image();
   $(partsPreload).attr({
       src: "Team-MIT-Scopegif2.gif"
   });

$(window).load(function() { $('#coculture').hover(function () { $(this).attr("src", $(coculturePreload).attr('src')); }, function() { $(this).attr("src", "Team-MIT-Flaskstat2.jpg"); });

$('#chutch').hover(function () { $(this).attr("src", $(chutchPreload).attr('src')); }, function() { $(this).attr("src", "Team-MIT-Hutchstat2.jpg"); });

$('#ecoli').hover(function () { $(this).attr("src", $(ecoliPreload).attr('src')); }, function() { $(this).attr("src", "Team-MIT-Platestat2.jpg"); });

$('#modeling').hover(function () { $(this).attr("src", $(modelingPreload).attr('src')); }, function() { $(this).attr("src", "Team-MIT-Graphstat2.jpg"); });

$('#policy').hover(function () { $(this).attr("src", $(policyPreload).attr('src')); }, function() { $(this).attr("src", "Team-MIT-Brianstat2.jpg"); });

$('#parts').hover(function () { $(this).attr("src", $(partsPreload).attr('src')); }, function() { $(this).attr("src", "Team-MIT-Scopestat2.jpg"); }); }) </script>