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' }, 1000 * $(this).data('speed'));
+
$(".parallax").animate({ left: '-=300px' }, 1000 * $(this).data('speed') function() { alert(1000*$(this).data('speed')});
});
});
     });
     });

Revision as of 04:24, 29 December 2013

Parallax Test

Whee

Project