PageSourceSearch

https://tourmaster-nsk.ru/templates/nieruchomosc_15/js/script.js?867798866

js tourmaster-nsk.ru collected 2026-10-05 00:35:18 UTC 1,799 bytes, 63 lines download raw bytes

1$(document).ready(function(){
2
3    $('.top-menu-menu li > a').on('click', function(e){
4        if(!this.hasClass('regular')) {
5            e.preventDefault();
6            var name = $(this).attr('href').split('#');
7            $('html, body').animate({scrollTop : $('a[name =' + name[1] + ']').offset().top}, 1000);
8        }
9    });
10
11    $('.up').on('click', function(e){
12        $('html, body').animate({scrollTop : 0}, 1000);
13    });
14
15    $(window).scroll(function (event) {
16        var scroll = $(window).scrollTop();
17        if(scroll >= 400) {
18            $('.up').fadeIn();
19        } else {
20            $('.up').fadeOut();
21        }
22    });
23    
24    
25    var modal = document.getElementById('myModal');
26    var btn = document.getElementById("myBtn");
27    var span = document.getElementsByClassName("close")[1];
28    
29    if(btn !== null) {
30        btn.onclick = function() {
31          modal.style.display = "block";
32        }
33        span.onclick = function() {
34          modal.style.display = "none";
35        }
36    }
37    // When the user clicks anywhere outside of the modal, close it
38    window.onclick = function(event) {
39      if (event.target == modal) {
40        modal.style.display = "none";
41      }
42    }
43    
44    var modal1 = document.getElementById('myModal1');
45    var btn1 = document.getElementById("myBtn1");
46    var span1 = document.getElementsByClassName("close")[0];
47    
48    if(btn1 !== null) {
49        btn1.onclick = function() {
50          modal1.style.display = "block";
51        }
52        span1.onclick = function() {
53          modal1.style.display = "none";
54        }
55    }
56    // When the user clicks anywhere outside of the modal, close it
57    window.onclick = function(event) {
58      if (event.target == modal1) {
59        modal1.style.display = "none";
60      }
61    }
62
63});

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.