PageSourceSearch

https://maskirovka.club/t/v2981/images/js/site_addons.js

js maskirovka.club collected 2026-09-28 18:53:13 UTC 2,798 bytes, 110 lines download raw bytes

1$(function(){
2	$('.folders_menu ul').parent().each(function() {
3		var catMenu = $(this);
4		var undMenu = catMenu.find('>ul');
5		var parMenu = catMenu.parents('ul').length;
6		var bol = false;
7		catMenu.hover(
8			function() {
9				catMenu.find('>a').attr('class','active');
10				for (var i=$('.folders_menu ul').length; i>=0; i--){
11					catMenu.parent().find('>li').not(catMenu).find('ul').eq(i).hide();
12				}
13				bol = true;
14				var menuPos = catMenu.position();
15				var topPos, leftPos;
16				if (parMenu == 1) {
17					topPos =  menuPos.top;
18					leftPos = menuPos.left + menuPos.right + catMenu.outerWidth(true);
19				} else {
20					topPos = menuPos.top;
21					leftPos = menuPos.left + menuPos.right + catMenu.outerWidth(true);
22				}
23				undMenu.css({
24					top: topPos,
25					left: leftPos
26				}).show();
27			},
28			function() {
29				catMenu.find('>a').attr('class','normal');
30				bol = false;
31				window.setTimeout(function() {
32					if (!bol) undMenu.hide(); 						   
33				}, 500);
34			}
35		);
36	});
37	
38	$('select[name="cf_razmer12"]').styler();
39	let one_click_sec_text = '';
40	$('.shop2-product-item .product_bot .top-btns .one_click_sec').each(function(){
41		one_click_sec_text = $(this).text();
42	});
43	$(document).ajaxComplete(function(){
44		$('select[name="cf_razmer12"]').styler();
45		$('.shop2-product-item .product_bot .top-btns .one_click_sec').text(one_click_sec_text);
46	});
47});
48
49(function($){
50	
51	'use strict';
52	
53	$(function(){
54		
55		let mPopupText = '<div class="data-text"></div>';
56		
57		$('.msngrs a').addClass('animated');
58		
59		$('.msngrs .element').append(mPopupText);
60		
61		$('.msngrs .element').each(function(index , element){
62		
63				
64				let dataText = $(this).data('popup-text');
65				
66				$(element).find('.data-text').text(dataText);
67				
68				$(element).toggleClass('hover').find('.data-text').fadeIn();
69				
70			
71			setInterval(function(){
72				if ($(element).find('.data-text').is(':hidden')) return;
73				//$(element).find('.data-text').fadeOut();
74				
75			}, 5000);
76		
77		});
78		
79		$('.msngrs a.animated').each(function(index , element){
80			
81			let timerId = setTimeout(function swing(){
82			
83				$(element).addClass('swing');
84				setTimeout(function(){
85					$(element).removeClass('swing');
86				}, 1500);
87				timerId = setTimeout(swing, 3000);
88			
89			}, 3000);
90			
91		});
92		
93		
94	});
95	
96})(jQuery);
97
98$(function(){
99	var isAgeChecked = readCookie("isAgeChecked");
100	if(!isAgeChecked){
101		$(".top_fix_block").addClass("active");
102		$('.site-wrapper').addClass('rev-top-fix')
103		
104	}
105	$(".top_fix_block .icon-close, .top_fix_block .top_fix_block--btn").on("click", function(){
106		$(".top_fix_block").remove();
107		$('.site-wrapper').removeClass('rev-top-fix')
108		createCookie("isAgeChecked", "1", 30);
109	});
110});

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.