PageSourceSearch

https://avtia.ro/web-hosting/js/script.js

js avtia.ro collected 2026-10-07 22:36:29 UTC 2,539 bytes, 92 lines download raw bytes

1$(window).on("load", function () {
2
3    "use strict";
4/* ===================================
5        Loading Timeout
6 ====================================== */
7
8$('.side-menu').removeClass('hidden');
9
10setTimeout(function(){
11    $('.loader-bg').fadeToggle();
12}, 1000);
13
14// $('.navbar-collapse .navbar-nav .nav-link:nth-child(1)').addClass('active');
15$('.navbar-collapse .navbar-nav .nav-link:nth-child(2)').removeClass('active');
16
17});
18
19jQuery(function ($) {
20
21    "use strict";
22
23$(window).on('scroll', function () {
24    if ($(this).scrollTop() > 260) { // Set position from top to add class
25        $('header').addClass('header-appear');
26    } else {
27        $('header').removeClass('header-appear');
28    }
29});
30
31//scroll to appear
32$(window).on('scroll', function () {
33    if ($(this).scrollTop() > 500)
34        $('.scroll-top-arrow').fadeIn('slow');
35    else
36        $('.scroll-top-arrow').fadeOut('slow');
37});
38
39//Click event to scroll to top
40$(document).on('click', '.scroll-top-arrow', function () {
41    $('html, body').animate({scrollTop: 0}, 800);
42    return false;
43});
44
45$(".scroll").on("click", function (event) {
46    event.preventDefault();
47    $("html,body").animate({
48        scrollTop: $(this.hash).offset().top - 80
49    }, 800);
50});
51
52/* ===================================
53    Side Menu
54====================================== */
55
56if ($("#sidemenu_toggle").length) {
57    $("#sidemenu_toggle").on("click", function () {
58        $(".pushwrap").toggleClass("active");
59        $(".side-menu").addClass("side-menu-active"), $("#close_side_menu").fadeIn(700)
60    }), $("#close_side_menu").on("click", function () {
61        $(".side-menu").removeClass("side-menu-active"), $(this).fadeOut(200), $(".pushwrap").removeClass("active")
62    }), $(".side-nav .navbar-nav .nav-link").on("click", function () {
63        $(".side-menu").removeClass("side-menu-active"), $("#close_side_menu").fadeOut(200), $(".pushwrap").removeClass("active")
64    }), $("#btn_sideNavClose").on("click", function () {
65        $(".side-menu").removeClass("side-menu-active"), $("#close_side_menu").fadeOut(200), $(".pushwrap").removeClass("active")
66    });
67}
68
69
70/* ===================================
71       Testimonial-Carousel
72====================================== */
73$('.testimonial-carousel').owlCarousel({
74    loop: true,
75    margin: 30,
76    autoplay: true,
77    nav: false,
78    dots: false,
79    responsive: {
80        0: {
81            items: 1
82        },
83        600: {
84            items: 1
85        },
86        1000: {
87            items: 1
88        }
89    }
90});
91
92});

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.