HEX
Server: LiteSpeed
System: Linux cp01.bhostbrasil.com.br 5.14.0-611.16.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Dec 22 03:40:39 EST 2025 x86_64
User: onlyfibr (1083)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: /home/onlyfibr/public_html/views/js/animation.js
$(document).ready(function() {

  $('.animate-effect').addClass('anim-section');

  $(window).on('scroll', function() { 

    animSection();
    fadeInSection();

  });

  animSection();
  fadeInSection();

});

var animSection = function() {
  $('.anim-section').each(function() {
    if ($(window).scrollTop() > ($(this).offset().top - $(window).height() / 1.15)) {
      $(this).addClass('animate');
    } else {
      $(this).removeClass('animate');
    }
  });
}

var fadeInSection = function() {
  $('.fadeIn-section').each(function() {
    if ($(window).scrollTop() > ($(this).offset().top - $(window).height() / 1.15)) {
      $(this).addClass('fadeIn');
    }
  });
}