Team:Cornell/sandbox

From 2013.igem.org

(Difference between revisions)
Line 329: Line 329:
$(".parallax").each(function() {
$(".parallax").each(function() {
var speed = 100 * parseInt($(this).data('speed'), 10);
var speed = 100 * parseInt($(this).data('speed'), 10);
-
$(this).animate( { left: '-='scrolled }, speed);
+
$(this).animate( { left: '-=scrolled' }, speed);
});
});
});
});

Revision as of 00:02, 30 December 2013

Parallax Test

Whee

Project