Team:UCLA/Aal/javascripttemplate

From 2014.igem.org

(Difference between revisions)
Line 21: Line 21:
jQuery(document).ready(function($){
jQuery(document).ready(function($){
       $('.spiderbutton').mouseover(function(){
       $('.spiderbutton').mouseover(function(){
-
$('.spiderbutton').animate({ height: '+=10%', width: "+=10%", 'left': '+= 5%', 'top'= '-=5%'}, 800);
+
$('.spiderbutton').animate({ height: '+=10%', width: "+=10%"}, 800);
       });
       });
$('.spiderbutton').mouseout(function(){
$('.spiderbutton').mouseout(function(){
-
$('.spiderbutton').animate({ height: '-=10%', width: "-=10%", 'left': '-= 5%', 'top'= '+=5%'}, 800);
+
$('.spiderbutton').animate({ height: '-=10%', width: "-=10%"}, 800);
       });
       });
});
});

Revision as of 23:28, 5 September 2014