HOME


Mini Shell 1.0
DIR: /home/dhnidqcz/jamesakinola.com/wp-content/themes/agencygrove/assets/js/
Upload File :
Current File : /home/dhnidqcz/jamesakinola.com/wp-content/themes/agencygrove/assets/js/script.js
(function ($) {    

      $(document).ready(function(){
        $("#sticky-header").sticky({topSpacing:0});
         // Show scroll-to-top button when user scrolls down
          $(window).scroll(function() {
            if ($(this).scrollTop() > 100) {
                $('.agencygrove-scrool-top').fadeIn();
            } else {
                $('.agencygrove-scrool-top').fadeOut();
            }
        });
        
          // Scroll to top when button is clicked
          $('.agencygrove-scrool-top').click(function() {
              $('html, body').animate({ scrollTop: 0 }, 'slow');
          });   
          
          wow = new WOW(
            {
            boxClass:     'wow',      // default
            animateClass: 'animated', // default
            offset:       0,          // default
            mobile:       true,       // default
            live:         true        // default
          }
          )
          wow.init();
      });
  
  
  })(jQuery);