Team:UCLA/Template/Javascript

From 2014.igem.org

(Difference between revisions)
Line 55: Line 55:
$(document).ready(function(){
$(document).ready(function(){
$("#down").click(function() {
$("#down").click(function() {
-
$("#spider").rotator(50, 1000, 'img');
+
$("#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(50, 1000, 'img');
+
$("#spider").rotator(55, 1000, 'img');
$("#spider").animate({
$("#spider").animate({
"top": "-=100px"
"top": "-=100px"

Revision as of 01:12, 19 July 2014