Team:Cornell/sandbox
From 2013.igem.org
(Difference between revisions)
Line 333: | Line 333: | ||
return $.trim($(this).html()) == ''; | return $.trim($(this).html()) == ''; | ||
}).remove(); | }).remove(); | ||
- | + | ||
$(document).keydown(function(e){ | $(document).keydown(function(e){ | ||
- | + | clearTimeout($.data(this, 'timer')); | |
+ | var wait = setTimeout(parallax(e), 3000); | ||
+ | $(this).data('timer', wait); | ||
}); | }); | ||
Revision as of 20:32, 1 January 2014