Line 463: | Line 463: | ||
<a href = "https://2016.igem.org/Team:Rice/Wet_Lab" style="float:left"><img id = "wet_lab" class = "gif" src = "https://static.igem.org/mediawiki/2016/7/7b/Wet_lab_cover.png" width = 148.5 style ="position:absolute;left:340px;top:92px"></a> | <a href = "https://2016.igem.org/Team:Rice/Wet_Lab" style="float:left"><img id = "wet_lab" class = "gif" src = "https://static.igem.org/mediawiki/2016/7/7b/Wet_lab_cover.png" width = 148.5 style ="position:absolute;left:340px;top:92px"></a> | ||
<a href = "https://2016.igem.org/Team:Rice/Project" style="float:left"><img id = "project" class = "gif" src = "https://static.igem.org/mediawiki/2016/6/65/Project_cover.png" width = 201 style ="position:absolute;left:390px;top:240px"></a> | <a href = "https://2016.igem.org/Team:Rice/Project" style="float:left"><img id = "project" class = "gif" src = "https://static.igem.org/mediawiki/2016/6/65/Project_cover.png" width = 201 style ="position:absolute;left:390px;top:240px"></a> | ||
+ | <a href = "https://2016.igem.org/Team:Rice/Modeling" style="float:left"><img id = "modeling" class = "gif" src = "https://static.igem.org/mediawiki/2016/2/28/Modeling_cover.png" width = 150 style ="position:absolute;left:330px;top:50px"></a> | ||
Line 504: | Line 505: | ||
}, function() { | }, function() { | ||
$(this).attr("src", "https://static.igem.org/mediawiki/2016/6/65/Project_cover.png"); | $(this).attr("src", "https://static.igem.org/mediawiki/2016/6/65/Project_cover.png"); | ||
+ | }); | ||
+ | }) | ||
+ | |||
+ | var modeling_preload = new Image(); | ||
+ | $(modeling_preload).attr({ | ||
+ | src: "https://static.igem.org/mediawiki/2016/8/83/Modeling_back.gif" | ||
+ | }); | ||
+ | |||
+ | $(window).load(function() { | ||
+ | $('#modeling').hover(function () { | ||
+ | $(this).attr("src", $(modeling_preload).attr('src')); | ||
+ | }, function() { | ||
+ | $(this).attr("src", "https://static.igem.org/mediawiki/2016/2/28/Modeling_cover.png"); | ||
}); | }); | ||
}) | }) |
Revision as of 05:23, 16 September 2016