Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('.entrance-animate').each(function(){
- var e = this,
- $e = $(this);
- $e.addClass('init');
- var w = new Waypoint({
- element: e,
- handler: function(direction) {
- $e.addClass($e.data('animation'));
- w.destroy(); // remove once animated
- },
- offset: '80%',
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement