Team:Cornell/sandbox
From 2013.igem.org
(Difference between revisions)
Line 327: | Line 327: | ||
$(".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); | ||
- | + | alert(speed); | |
- | + | } | |
}); | }); | ||
}); | }); |
Revision as of 05:25, 29 December 2013