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){
-
window.setInterval(parallax(e), 1000);
+
clearTimeout($.data(this, 'timer'));
 +
var wait = setTimeout(parallax(e), 3000);
 +
$(this).data('timer', wait);
});
});

Revision as of 20:32, 1 January 2014

Parallax Test

Parallax Design 1.2

Inspired by this site --->

(Yeah I stole the background)

Use the arrow keys to navigate -->

These pages can replace sliders

And have pretty pictures that link to project pages

This means design will be really important
It also takes a ton of time to set the page up cause I have to position everything manually
Whee!

Yay! Parallax

(Nupur's awesome)