Team:Cornell/sandbox

From 2013.igem.org

(Difference between revisions)
Line 329: Line 329:
//parallax
//parallax
-
$(document).keyup(function(e){
+
$(document)..delay(1000).keydown(function(e){
//down or right
//down or right
if (e.which == 40 || e.which == 39) {  
if (e.which == 40 || e.which == 39) {  
Line 353: Line 353:
return false; //prevent more keydown events from firing
return false; //prevent more keydown events from firing
}
}
-
}).delay(1000);
+
});
     });
     });
</script>
</script>

Revision as of 04:15, 30 December 2013

Parallax Test

Project

These can replace sliders

And have pretty pictures that link to project pages

This means design will be really important