Team:Cornell/sandbox
From 2013.igem.org
(Difference between revisions)
Line 326: | Line 326: | ||
$("h1").click( function() { | $("h1").click( function() { | ||
$(".parallax").animate( { left: '-=100%' }, | $(".parallax").animate( { left: '-=100%' }, | ||
- | { | + | { duration:1000 , |
- | + | ||
step: function(now, fx) { | step: function(now, fx) { | ||
var speed = 1000 * parseInt($(this).data('speed'), 10); | var speed = 1000 * parseInt($(this).data('speed'), 10); |
Revision as of 05:26, 29 December 2013