Difference between revisions of "Template:Team:MIT/Footer"
Line 31: | Line 31: | ||
<img id = "modeling" class = "gif" src = "https://static.igem.org/mediawiki/2015/4/4b/Team-MIT-Graphstat2.jpg"> | <img id = "modeling" class = "gif" src = "https://static.igem.org/mediawiki/2015/4/4b/Team-MIT-Graphstat2.jpg"> | ||
</a> | </a> | ||
− | <a class = "col-md-6" href = "https://2015.igem.org/Team:MIT/ | + | <a class = "col-md-6" href = "https://2015.igem.org/Team:MIT/Practices"> |
− | <img id = " | + | <img id = "practice" class = "gif" src = "https://static.igem.org/mediawiki/2015/e/e9/Team-MIT-Brianstat2.jpg"> |
</a> | </a> | ||
<a class = "col-md-6" href = "https://2015.igem.org/Team:MIT/Parts"> | <a class = "col-md-6" href = "https://2015.igem.org/Team:MIT/Parts"> | ||
Line 68: | Line 68: | ||
//create image to preload: | //create image to preload: | ||
− | var | + | var practicesPreload = new Image(); |
− | $( | + | $(practicesPreload).attr({ |
src: "https://static.igem.org/mediawiki/2015/0/05/Team-MIT-Briangif2.gif" | src: "https://static.igem.org/mediawiki/2015/0/05/Team-MIT-Briangif2.gif" | ||
}); | }); | ||
Line 104: | Line 104: | ||
}); | }); | ||
− | $('# | + | $('#practices').hover(function () { |
− | $(this).attr("src", $( | + | $(this).attr("src", $(practicesPreload).attr('src')); |
}, function() { | }, function() { | ||
$(this).attr("src", "https://static.igem.org/mediawiki/2015/e/e9/Team-MIT-Brianstat2.jpg"); | $(this).attr("src", "https://static.igem.org/mediawiki/2015/e/e9/Team-MIT-Brianstat2.jpg"); |
Revision as of 03:47, 14 September 2015