PageSourceSearch

https://coolschool-spb.ru/jquery/main.js?v=968712073

js coolschool-spb.ru collected 2026-10-07 00:05:12 UTC 2,223 bytes, 105 lines download raw bytes

1$(document).ready(function() {
2	$('.summer-item').click(function(){
3		i = $(this).attr('data-id');
4
5		$('.summer-item-arrow.disabled').removeClass('disabled');
6		$('#sum_arr' + i).addClass('disabled');
7
8		if($('#hide_block'+i).css('display') == 'none')
9		{
10			//$('.mist').slideUp(250);
11			$('#hide_block'+i).slideDown(250);
12		}
13		else
14		{
15			$('#hide_block'+i).slideUp(250);
16			$('.summer-item-arrow.disabled').removeClass('disabled');
17		}
18	});
19	$('body').on('click','#lager-1',function(){
20		$('#lager-2.active').removeClass('active');
21		$('#lager-1' ).addClass('active');
22		$('#txt229_228n').click();
23	});
24	$('body').on('click','#lager-2',function(){
25		$('#lager-1.active').removeClass('active');
26		$('#lager-2' ).addClass('active');
27		$('#txt230_228n').click();
28	});
29
30	$('body').on('click', 'input.pclickCatcher', function() {
31		window.yaTarget('submit catcher call back modal');
32	});
33
34	$('body').on('click', 'button.pclickCatcher', function() {
35		window.yaTarget('submit catcher call back');
36	});
37
38	$('body').on('click', '.btn_tab', function() {
39		destination = 239;
40		$('html,body').animate({scrollTop: destination}, 500);
41	});
42
43	$('.btn_tab').css('cursor', 'pointer');
44
45
46	$('body').on('click','.new_tab',function(){
47		var i = $(this).attr('data-i');
48
49		$('.new_tab').removeClass('set');
50		$(this).addClass('set');
51
52		$('.new_tab_block').addClass('none');
53		$('.new_tab_block'+i).removeClass('none');
54	});
55});
56
57
58
59(function(w) {
60	w.getYaCounter = function() {
61		for (key in w) {
62			if (key.indexOf('yaCounter') !== 0) {
63				continue;
64			}
65
66			return w[key];
67		}
68
69		return false;
70	};
71
72	w.yaTarget = function(targetName) {
73		var yaCounter;
74
75		if (!(yaCounter = w.yaCounter28749521)) {
76			return true;
77		}
78
79		var targetName = targetName.toUpperCase().replace(/\s+/g, '_');
80
81		console.log('reach goal', targetName);
82		yaCounter.reachGoal(targetName);
83
84		return true;
85	};
86
87	$(document).ready(function() {
88		var yaTargetButtons = $('[data-ya-target]');
89
90		if (!yaTargetButtons) {
91			return;
92		}
93
94		yaTargetButtons.each(function() {
95			var self = $(this);
96
97			// TODO: self.data('ya-target')
98			var targetName = self.attr('data-ya-target');
99
100			self.click(function() {
101				w.yaTarget(targetName);
102			});
103		});
104	});
105})(window);

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.