PageSourceSearch

https://itmir48.ru/local/templates/itmir/assets/js/script.js

js itmir48.ru collected 2026-09-26 05:49:00 UTC 2,205 bytes, 91 lines download raw bytes

1$(document).ready(function(){
2	
3	$(function(){
4	    'use strict';
5	
6    	$("#navToggle").click(function() {
7            $(this).toggleClass("active");
8            $(".overlay").toggleClass("open");
9            // this line ▼ prevents content scroll-behind
10            $("body").toggleClass("locked");
11        });
12        
13        $('.overlay').click(function() {
14            $(this).removeClass('open');
15            $('.navBurger').removeClass('active');
16        });
17	
18	});
19
20    
21
22    /*модальное окно*/
23   $(function(){
24       $('.test-popup-link').magnificPopup({
25       type: 'image'
26        });
27    });
28    
29    /***********************************/
30    $(function() {
31   
32    $('.show-popup').magnificPopup({
33    type: 'inline',
34    removalDelay: 500, //delay removal by X to allow out-animation
35    callbacks: {
36        beforeOpen: function () {
37            this.st.mainClass = this.st.el.attr('data-effect');
38        }
39    },
40    midClick: true 
41        });
42	});
43    
44    
45    /*конец*******************************************/
46
47    $(function(){
48        $(".owl-carousel").owlCarousel({
49            items:4,
50            margin:20,
51            dots: false,
52            responsiveClass:true,
53            responsive:{
54                0:{
55                    items:1,
56                    nav:true
57                },
58                575:{
59                    items:3,
60                    nav:false
61                },
62                991:{
63                    items:4,
64                    nav:true,
65                    loop:false
66                }
67            }
68        });
69    });
70    
71    $(function(){
72    const e = window.sr = ScrollReveal();
73        e.reveal('#intro-content, .intro-block, .team-card',{
74            duration: 1e3,
75            distance: "35px",
76            easing: "cubic-bezier(0.5, -0.01, 0, 1.005)",
77            origin: "left",
78            interval: 180
79        }),e.reveal('.service-item, .list-advantage',{
80           duration: 1e3,
81            distance: "60px",
82            easing: "cubic-bezier(0.5, -0.01, 0, 1.005)",
83            interval: 100,
84            origin: "bottom",
85            scale: .9,
86            viewFactor: .5 
87        });
88    });
89	
90	
91});

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.