MMCT TEAM
Server IP : 111.118.215.189  /  Your IP : 18.220.182.171
Web Server : Apache
System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : a1673wkz ( 2475)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home1/a1673wkz/propstonerealty.com/js/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home1/a1673wkz/propstonerealty.com/js/under.js
/*
Author       : Code-Theme
Template Name: Bitcoin - HTML5 Template
Version      : 1.0
*/

jQuery(document).on('ready', function ($) {
    "use strict";

    /*---------------------------------
     //------ PRELOADER ------//
     ----------------------------------*/
    $('#status').fadeOut();
    $('#preloader').delay(200).fadeOut('slow');    

    /*---------------------------------
     //------ ANIMATE HEADER ------//
     ----------------------------------*/
    $(window).scroll(function () {
        var nav = $('.heading-3');
        var scroll = $(window).scrollTop();

        if (scroll >= 80) {
            nav.addClass("bg-menu");
        } else {
            nav.removeClass("bg-menu");
        }
    });
    
    $(window).scroll(function () {
        var nav = $('.heading-6');
        var scroll = $(window).scrollTop();

        if (scroll >= 80) {
            nav.addClass("bg-menu");
        } else {
            nav.removeClass("bg-menu");
        }
    });

    /*----------------------------------
    //------ JQUERY SCROOLTOP ------//
    -----------------------------------*/
    var go = $(".go-up");
    $(window).on('scroll', function () {
        var scrolltop = $(this).scrollTop();
        if (scrolltop >= 50) {
            go.fadeIn();
        } else {
            go.fadeOut();
        }
    });

}(jQuery));

MMCT - 2023