PageSourceSearch

https://gorodaldan.ru/wp-content/themes/aldan18/js/script.js

js gorodaldan.ru collected 2026-10-02 23:51:42 UTC 2,455 bytes, 105 lines download raw bytes

1$(document).ready(function(){
2	// animations
3
4	
5
6	$('.scroll_animate').each(function () {
7		var block = $(this);
8		$(window).scroll(function() {
9			var top = block.offset().top; 
10			var bottom = block.height()+top; 
11			top = top - $(window).height() + 200;
12			var scroll_top = $(this).scrollTop();
13			if ((scroll_top > top) && (scroll_top < bottom)) { 
14				if (!block.hasClass('animate')) { 
15					block.addClass('animate');
16					block.trigger('animateIn');
17				}
18			}
19		});	
20	});
21		
22		//ударное возникновение
23	$('.inner').on('animateIn', function() {		
24		var tim = 1;
25		$(this).find(".animBounce").each(function(){
26			var bl = $(this);
27			setTimeout(function(){
28				bl.addClass("animated bounceIn"); 
29				bl.css("opacity","1");
30			},tim*150);
31			tim++;
32		})
33//качающееся возникновение
34		var inter = 0;
35		$(this).find('.animFlip').each(function() {
36			var block = $(this);
37			setTimeout(function() {
38				block.addClass('animated flipInY');
39				block.css('opacity', '1');
40			}, inter*150);
41			inter++;
42		});
43//быстрая шторка
44		var inter = 0;
45		$(this).find('.animFlipX').each(function() {
46			var block = $(this);
47			setTimeout(function() {
48				block.addClass('animated flipInX');
49				block.css('opacity', '1');
50			}, inter*150);
51			inter++;
52		});
53//выход слева
54		var inter = 0;
55		$(this).find('.animLeft').each(function() {
56			var block = $(this);
57			setTimeout(function() {
58				block.addClass('animated fadeInLeftBig');
59				block.css('opacity', '1');
60			}, inter*150);
61			inter++;
62		});
63//выход справа
64		var inter = 0;
65		$(this).find('.animRight').each(function() {
66			var block = $(this);
67			setTimeout(function() {
68				block.addClass('animated fadeInRightBig');
69				block.css('opacity', '1');
70			}, inter*150);
71			inter++;
72		});
73
74		var inter = 0;
75		$(this).find('.animRubber').each(function() {
76			var block = $(this);
77			setTimeout(function() {
78				block.addClass('animated rubberBand');
79				block.css('opacity', '1');
80			}, inter*150);
81			inter++;
82		});
83
84		var inter = 0;
85		$(this).find('.animBounceDown').each(function() {
86			var block = $(this);
87			setTimeout(function() {
88				block.addClass('animated bounceInDown');
89				block.css('opacity', '1');
90			}, inter*150);
91			inter++;
92		});
93		
94	})
95
96
97
98	$(".progress").click(function(){
99		if($(this).parent().find(".prog_photos a").length != 0){ 
100			$(this).parent().find(".prog_photos a")[0].click();
101		} 
102		return false;
103	})
104 
105})

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.