Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(window).scroll(function() {
- if ($(this).scrollTop()>200) {
- $('#btns').fadeIn();
- }
- elseif ($(this).scrollTop()<500) {
- $('#btns').fadeIn();
- } else {
- $('#btns').fadeOut();
- }});
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement