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, ' | + | if(dir == 0) $(this).animate( { left: '-=' + dist + '%'}, 1000, 'easeOutCirc'); |
- | else $(this).animate( { left: '+=' + dist + '%'}, 1000, ' | + | else $(this).animate( { left: '+=' + dist + '%'}, 1000, 'easeOutCirc'); |
}); | }); | ||
} | } |
Revision as of 17:53, 19 July 2014
Parallax 2
All the content is temporary
And the colors