JFIF  x x C         C     "        } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz        w !1AQ aq"2B #3Rbr{ gilour

File "script.js"

Full Path: /home2/yvrgircc/public_html/ariseskilltech.com/public/assets/global/course_player/js/script.js
File size: 1.27 KB
MIME-type: text/plain
Charset: utf-8

(function ($) {
    "use strict";
    var scrollTop;
    var Medi = {
        init: function () {
            this.Basic.init();
        },

        Basic: {
            init: function () {
                this.scrollTop();
                this.BackgroundImage();
                this.Slider();
            },
            scrollTop: function () {
                $(window).on("scroll", function () {
                    var ScrollBarPosition = $(this).scrollTop();
                    if (ScrollBarPosition > 200) {
                        $(".scroll-top").fadeIn();
                    } else {
                        $(".scroll-top").fadeOut();
                    }
                });
                $(".scroll-top").on("click", function () {
                    $("body,html").animate({
                        scrollTop: 0,
                    });
                });
            },
            BackgroundImage: function () {
                $("[data-background]").each(function () {
                    $(this).css("background-image", "url(" + $(this).attr("data-background") + ")");
                });
            },
            Slider: function () {
                
            },
        },
    };
    jQuery(document).ready(function () {
        Medi.init();
    });
})(jQuery);