Template:Team:MIT/Footer
<a class = "col-md-6" href = "https://2015.igem.org/Team:MIT/Coculture"> <img id = "coculture" class = "gif" src = ""> </a> <a class = "col-md-6" href = "https://2015.igem.org/Team:MIT/Chutch"> <img id = "chutch" class = "gif" src = ""> </a> <a class = "col-md-6" href = "https://2015.igem.org/Team:MIT/Ecoli"> <img id = "ecoli" class = "gif" src = ""> </a> <a class = "col-md-6" href = "https://2015.igem.org/Team:MIT/Modeling"> <img id = "modeling" class = "gif" src = ""> </a> <a class = "col-md-6" href = "https://2015.igem.org/Team:MIT/Policy"> <img id = "policy" class = "gif" src = ""> </a> <a class = "col-md-6" href = "https://2015.igem.org/Team:MIT/PartsAndCircuits"> <img id = "parts" class = "gif" src = ""> </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: "" });
//create image to preload:
var chutchPreload = new Image(); $(chutchPreload).attr({ src: "" });
//create image to preload:
var ecoliPreload = new Image(); $(ecoliPreload).attr({ src: "" });
//create image to preload: var modelingPreload = new Image(); $(modelingPreload).attr({ src: "" });
//create image to preload: var policyPreload = new Image(); $(policyPreload).attr({ src: "" });
//create image to preload:
var partsPreload = new Image(); $(partsPreload).attr({ src: "" });
$(window).load(function() { $('#coculture').hover(function () { $(this).attr("src", $(coculturePreload).attr('src')); }, function() { $(this).attr("src", ""); });
$('#chutch').hover(function () { $(this).attr("src", $(chutchPreload).attr('src')); }, function() { $(this).attr("src", ""); });
$('#ecoli').hover(function () { $(this).attr("src", $(ecoliPreload).attr('src')); }, function() { $(this).attr("src", ""); });
$('#modeling').hover(function () { $(this).attr("src", $(modelingPreload).attr('src')); }, function() { $(this).attr("src", ""); });
$('#policy').hover(function () { $(this).attr("src", $(policyPreload).attr('src')); }, function() { $(this).attr("src", ""); });
$('#parts').hover(function () { $(this).attr("src", $(partsPreload).attr('src')); }, function() { $(this).attr("src", ""); }); }) </script>