PageSourceSearch

https://sonusharma.in/wp-content/themes/sonu-sharma-child/js/home.js?ver=7.1.3

js sonusharma.in collected 2026-10-08 06:07:11 UTC 2,084 bytes, 60 lines download raw bytes

1jQuery(document).ready(function($) {
2	
3    /**********|| Header Js ||**********/
4    // jQuery(window).scroll(function() {
5    //     var sticky = jQuery('div[data-elementor-type="header"]'),
6    //         scroll = jQuery(window).scrollTop();
7    //     if (scroll >= 10) {
8    //         sticky.addClass('sticky');
9    //     } else {
10    //         sticky.removeClass('sticky');
11    //     }
12    // });
13
14    jQuery('.hero_sec').owlCarousel({
15        loop: true,
16        nav: true,
17        dots:false,
18        margin:10,
19        autoplay: true,
20        autoplayTimeout: 4500,
21        smartSpeed: 2500,
22        autoplayHoverPause: false,
23        responsive: {
24            0: {
25                items: 1
26            }
27        }
28    });
29    $('.service_img > div').each(function(index) {
30        $(this).attr('data-img', index + 1);
31    });
32    $('.service_list ul li').each(function(index) {
33        $(this).attr('data-id', index + 1);
34    });
35    $('.service_list ul li:nth-child(1)').addClass("active");
36     $('.service_img > div').fadeOut(1000);
37     $('.service_img > div:nth-child(1)').fadeIn(1000);
38    //  $('.service_list ul li').on('click', function() {
39    //     $('.service_list ul li').removeClass("active");
40    //     $(this).addClass("active");
41    //     $('.service_img > div').fadeOut(500);
42    //     var selectedId = $(this).attr('data-id');
43    //     $('.service_img > div[data-img="' + selectedId + '"]').fadeIn(500);
44    // });
45    $('.service_list ul li').mouseover(function() {
46        $('.service_list ul li').removeClass("active");
47        $(this).addClass("active");
48		$(this).siblings("li").find("span").css("color", "#808080");
49        $('.service_img > div').fadeOut(150);
50        var selectedId = $(this).attr('data-id');
51        $('.service_img > div[data-img="' + selectedId + '"]').fadeIn(150);
52    });
53	$('.service_list').mouseleave(function() {
54		$('.service_list ul li').removeClass("active");
55		$('.service_list ul li span').css("color", "");
56		$('.service_img > div').fadeOut(150);
57		$('.service_img > div:first-child').fadeIn(150);
58	});
59
60});

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.