Scroll animation using jquery

var scrolled = false;

$(window).scroll(function () {

if (650 < $(window).scrollTop() && !scrolled) {
——————————-animation here——————————
scrolled = true;

if (650 > $(window).scrollTop() && scrolled) {
——————————-animation here——————————
scrolled = false;

Recent Article

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  • Keep your skills sharp, get informed.

    Subscribe to our mailing list and get interesting stuff and updates to your email inbox