PageSourceSearch

https://kareprost24.ru/bitrix/templates/aspro_next/js/custom.js?15913452561315

js kareprost24.ru collected 2026-10-08 11:58:38 UTC 1,315 bytes, 36 lines download raw bytes

1/*
2You can use this file with your scripts.
3It will not be overwritten when you upgrade solution.
4*/
5
6	//function scrollTo(element, margintop) { window.scroll({ top: element.getBoundingClientRect().top + (window.scrollY === undefined ? window.scrollY : window.pageYOffset) - margintop, behavior: 'smooth' }); }
7
8    $(document).ready(function() {
9		 if ($(window).width() <= '767'){
10			$('.slides').after('<div class="botblck"></div>');
11			$('.botblck').append($('#top1'));
12		 };
13		document.querySelectorAll('a[href^="#"][data-link-type="anchor"]').forEach(function(anchorLink){
14			anchorLink.addEventListener('click', function(e){
15				e.preventDefault();
16				scrollTo(document.querySelector(this.getAttribute('href')), 100);
17			});
18		});
19		$('.popup-with-zoom-anim').magnificPopup({type:'inline'});
20		document.querySelectorAll('.countdown .dd').forEach(function(counter){
21			var num = parseInt(counter.TEXT_NODE);
22			counter.innerHTML = (num > 3 ? num - 3 : 0) + '<div class="text">д.</div>';
23		});
24	});
25
26	$(document).on('click','.text-more-btn a',function(e) {
27		e.preventDefault();
28		if( $(this).is(".active") ){
29			$('.text-hidden').slideUp();
30			$(this).removeClass('active').html("Подробнее");
31		} else{
32			$('.text-hidden').slideDown();
33			$(this).addClass('active').html("Скрыть");
34		}
35
36	});

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.