Team:UCLA/Template/Javascript
From 2014.igem.org
(Difference between revisions)
Anuvedverma (Talk | contribs) |
Anuvedverma (Talk | contribs) |
||
Line 55: | Line 55: | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
$("#down").click(function() { | $("#down").click(function() { | ||
- | $("#spider").rotator( | + | $("#spider").rotator(55, 1000, 'img'); |
$("#spider").animate({ | $("#spider").animate({ | ||
"top": "+=100px" | "top": "+=100px" | ||
Line 61: | Line 61: | ||
}); | }); | ||
$("#up").click(function() { | $("#up").click(function() { | ||
- | $("#spider").rotator( | + | $("#spider").rotator(55, 1000, 'img'); |
$("#spider").animate({ | $("#spider").animate({ | ||
"top": "-=100px" | "top": "-=100px" |
Revision as of 01:12, 19 July 2014