PageSourceSearch

https://icheckgate.ai/public/js/main.js

js icheckgate.ai collected 2026-10-05 14:30:35 UTC 1,924 bytes, 123 lines download raw bytes

1
2
3(function ($) {
4    "use strict";
5
6    // Spinner
7    var spinner = function () {
8        setTimeout(function () {
9            if ($('#spinner').length > 0) {
10                $('#spinner').removeClass('show');
11            }
12        }, 1);
13    };
14    spinner();
15    
16    
17    // Initiate the wowjs
18    new WOW().init();
19
20
21    // Sticky Navbar
22    $(window).scroll(function () {
23        if ($(this).scrollTop() > 100) {
24            $('.sticky-top').addClass('bg-primary-fixed shadow-sm').css('top', '0px');
25        } else {
26            $('.sticky-top').removeClass('bg-primary-fixed shadow-sm').css('top', '-150px');
27        }
28    });
29    
30    let prevScrollpos = window.pageYOffset;
31window.onscroll = function() {
32let currentScrollPos = window.pageYOffset;
33  if (prevScrollpos > currentScrollPos) {
34    document.getElementById("navbar").style.top = "0";
35  } else {
36    document.getElementById("navbar").style.top = "-135px";
37  }
38  prevScrollpos = currentScrollPos;
39}
40
41
42   
43     // Facts counter
44     $('[data-toggle="counter-up"]').counterUp({
45        delay: 10,
46        time: 2000
47    });
48    
49    
50    // Back to top button
51    // $(window).scroll(function () {
52    //     if ($(this).scrollTop() > 100) {
53    //         $('.back-to-top').fadeIn('slow');
54    //     } else {
55    //         $('.back-to-top').fadeOut('slow');
56    //     }
57    // });
58    $('.back-to-top').click(function () {
59        $('html, body').animate({scrollTop: 0}, 1500, 'easeInOutExpo');
60        return false;
61    });
62
63
64    // Testimonials carousel
65    $(".testimonial-carousel").owlCarousel({
66        items: 1,
67        autoplay: true,
68        smartSpeed: 1000,
69        dots: true,
70        loop: true,
71        nav: true,
72        navText : [
73            '<i class="bi bi-arrow-left"></i>',
74            '<i class="bi bi-arrow-right"></i>'
75        ]
76    });
77	
78})(jQuery);
79	// circle //
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107  
108        
109
110
111  
112	
113
114
115
116
117
118
119      
120
121
122
123

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.