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/Policy">
+
<a class = "col-md-6" href = "https://2015.igem.org/Team:MIT/Practices">
<img id = "policy" class = "gif" src = "https://static.igem.org/mediawiki/2015/e/e9/Team-MIT-Brianstat2.jpg">
+
<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 policyPreload = new Image();
+
     var practicesPreload = new Image();
     $(policyPreload).attr({
+
     $(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:
 
});
 
});
  
    $('#policy').hover(function () {
+
    $('#practices').hover(function () {
$(this).attr("src", $(policyPreload).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