Team:Cornell/sandbox

From 2013.igem.org

(Difference between revisions)
Line 325: Line 325:
//parallax
//parallax
$("h1").click( function() {
$("h1").click( function() {
-
$(".parallax").animate({ left: '-=300px' }, 2000);
+
$(".parallax").animate({ left: '-=300px' }, (1000 * $(this).data('speed')));
});
});
     });
     });

Revision as of 04:28, 29 December 2013

Parallax Test

Whee

Project