Team:Cornell/sandbox

From 2013.igem.org

(Difference between revisions)
Line 407: Line 407:
// dir = 0 scroll right, dir = 1 scroll left
// dir = 0 scroll right, dir = 1 scroll left
-
if(dir == 0) $(this).animate( { left: '-=' + dist + '%'}, 1000, 'easeInOutQuart');  
+
if(dir == 0) $(this).animate( { left: '-=' + dist + '%'}, 1000, 'easeInOutCubic');  
-
else $(this).animate( { left: '+=' + dist + '%'}, 1000, 'easeInOutQuart');  
+
else $(this).animate( { left: '+=' + dist + '%'}, 1000, 'easeInOutCubic');  
});
});
}
}

Revision as of 17:49, 19 July 2014

Parallax Test

Parallax 2
All the content is temporary
And the colors