Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(window).scroll(function () {
- if ($(window).scrollTop() >= 105 && $(window).width()>=800) {
- $('.header').addClass('small');
- $('.actionbar').addClass('small');
- } else {
- $('.header').removeClass('small');
- $('.actionbar').removeClass('small');
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement