PageSourceSearch

https://mnemozina.ru/bitrix/templates/52420/js/script.js

js mnemozina.ru collected 2026-10-04 00:05:39 UTC 2,980 bytes, 116 lines download raw bytes

1function include(url){
2  document.write('<script src="/bitrix/templates/52420/'+url+'"></script>');
3  return false ;
4}
5
6/* cookie.JS
7========================================================*/
8include('js/jquery.cookie.js');
9
10
11/* DEVICE.JS
12========================================================*/
13include('js/device.min.js');
14
15/* Stick up menu
16========================================================*/
17include('js/tmstickup.js');
18$(window).load(function() { 
19  if ($('html').hasClass('desktop') && !$('html').hasClass('no_stuck_menu')) {
20      $('#stuck_container').TMStickUp({
21      })
22  }  
23});
24
25/* Easing library
26========================================================*/
27include('js/jquery.easing.1.3.js');
28
29/* touchTouch Gallery
30========================================================*/
31include('js/touchTouch.jquery.js');
32
33
34/* ToTop
35========================================================*/
36include('js/jquery.ui.totop.js');
37$(function () {   
38  $().UItoTop({ easingType: 'easeOutQuart' });
39});
40
41
42
43/* DEVICE.JS AND SMOOTH SCROLLIG
44========================================================*/
45include('js/jquery.mousewheel.min.js');
46include('js/jquery.simplr.smoothscroll.min.js');
47$(function () { 
48  if ($('html').hasClass('desktop')) {
49      $.srSmoothscroll({
50        step:150,
51        speed:400
52      });
53  }   
54});
55
56
57
58/* Copyright Year
59========================================================*/
60var currentYear = (new Date).getFullYear();
61$(document).ready(function() {
62  $("#copyright-year").text( (new Date).getFullYear() );
63});
64
65
66/* Superfish menu
67========================================================*/
68include('js/superfish.js');
69include('js/jquery.mobilemenu.js');
70
71
72/* Orientation tablet fix
73========================================================*/
74$(function(){
75// IPad/IPhone
76	var viewportmeta = document.querySelector && document.querySelector('meta[name="viewport"]'),
77	ua = navigator.userAgent,
78
79	gestureStart = function () {viewportmeta.content = "width=device-width, minimum-scale=0.25, maximum-scale=1.6, initial-scale=1.0";},
80
81	scaleFix = function () {
82		if (viewportmeta && /iPhone|iPad/.test(ua) && !/Opera Mini/.test(ua)) {
83			viewportmeta.content = "width=device-width, minimum-scale=1.0, maximum-scale=1.0";
84			document.addEventListener("gesturestart", gestureStart, false);
85		}
86	};
87	
88	scaleFix();
89	// Menu Android
90	if(window.orientation!=undefined){
91  var regM = /ipod|ipad|iphone/gi,
92   result = ua.match(regM)
93  if(!result) {
94   $('.sf-menu li').each(function(){
95    if($(">ul", this)[0]){
96     $(">a", this).toggle(
97      function(){
98       return false;
99      },
100      function(){
101       window.location.href = $(this).attr("href");
102      }
103     );
104    } 
105   })
106  }
107 }
108});
109var ua=navigator.userAgent.toLocaleLowerCase(),
110 regV = /ipod|ipad|iphone/gi,
111 result = ua.match(regV),
112 userScale="";
113if(!result){
114 userScale=",user-scalable=0"
115}
116document.write('<meta name="viewport" content="width=device-width,initial-scale=1.0'+userScale+'">')

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.