Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;(function($) {
- $(document).ready(function(){
- $('.waypoint').waypoint(function(direction) {
- var item = $(this);
- if(direction == 'down'){
- if(item.data('animation')){
- item.addClass('animated '+item.data('animation'));
- }
- }
- }, { offset: '80%' });
- });
- })(jQuery);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement