Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (modal_id) -> animate_top = Number($('#' + modal_id).height() + 70) current_top = $('#' + modal_id).css('top') $('#' + modal_id).animate top: '-' + animate_top + 'px' 500 -> $(this).css({'top' : current_top, 'visibility': 'hidden'}); $('.reveal-modal-bg').fadeOut()
Add Comment
Please, Sign In to add comment