PageSourceSearch

https://www.komi-permarchiv.ru/js/index.js

js komi-permarchiv.ru collected 2026-10-02 08:04:09 UTC 1,208 bytes, 55 lines download raw bytes

1$(function() {
2
3	$('.collapsed').hide();
4	
5	if(localStorage.getItem('agreed') == '1') {
6		document.getElementById('policy-div').remove();
7	}  
8	
9	$('.jcarousel').jcarousel({
10		transitions: {
11			transforms:   true,
12			transforms3d: true,
13			easing:       'ease'
14		},
15		wrap: 'circular'
16	}).jcarouselAutoscroll({
17		interval: 5000,
18		//target: '+=1',
19		autostart: true
20	});
21
22	$('.prev').click(function() {
23		$(this).parent().children('.jcarousel').jcarousel('scroll', '-=1');
24		return false;
25	});
26
27	$('.next').click(function() {
28		$(this).parent().children('.jcarousel').jcarousel('scroll', '+=1');
29		return false;
30	});
31
32	$('#spl-switch').click(function () {
33		if($('body').hasClass('spl')) {
34			$(document.body).removeClass('spl');
35			$(this).text('Версия для слабовидящих');
36		} else {
37			$(this).text('Обычная версия');
38			$(document.body).addClass('spl');
39		}
40	});
41	
42	$('#agree-btn').click(function() {
43		localStorage.setItem('agreed', '1');
44		document.getElementById('policy-div').remove();
45	});
46
47	$('.toggle').click(function () {
48		$('.collapsed').slideUp();
49		$(this).next('.collapsed').slideToggle();
50	});
51
52});
53
54
55

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.