Team:UCLA/anuved verma ucla2014 workspace/Javascript

From 2014.igem.org

(Difference between revisions)
Line 7: Line 7:
           $("html, body").animate({ scrollTop: 0 }, 500);
           $("html, body").animate({ scrollTop: 0 }, 500);
           $('.spiderbutton').animate({ top: '-=70%'}, 800, function(){$('.spiderbutton').animate({ top: '90%'}, 3000)});
           $('.spiderbutton').animate({ top: '-=70%'}, 800, function(){$('.spiderbutton').animate({ top: '90%'}, 3000)});
-
           $('.spiderline').animate({ top: '-=70%'}, 800, function(){$('.spiderline').animate({ top: '90%'}, 3000)});
+
           $('.spiderline').animate({ top: '-=70%'}, 800, function(){$('.spiderline').animate({ top: '+=90%'}, 3000)});
     });
     });
});
});

Revision as of 00:02, 19 September 2014