PageSourceSearch

https://www.plavbyolomouc.cz/script/default.js?v20

js plavbyolomouc.cz collected 2026-10-08 03:20:57 UTC 2,544 bytes, 84 lines download raw bytes

1
2// include JavaScript libs & frameworks
3include('/script/libs/jquery-ui.min.js');
4include('/script/libs/bootstrap.min.js');
5include('/styles/libs/bootstrap.css');
6include('/script/libs/isotope.min.js');
7include('/script/libs/smoothscroll.js');
8include('/script/libs/stacktable.js');
9include('/script/libs/fancybox/jquery.fancybox.css');
10include('/script/libs/fancybox/jquery.fancybox.min.js');
11include('/styles/libs/font-awesome.min.css');
12
13// include CSS styles
14//include('/styles/default.css');
15//include('/styles/form.css');
16//include('/styles/list.css');
17//include('/styles/framework.css');
18include('/styles/animate.css');
19include('/scss/style.scss');
20include('/scss/custom.scss');
21include('/scss/website.scss');
22include('/scss/system.scss');
23
24// include JavaScript files
25include('/script/classes/forms/Validate.js');
26
27// jQuery ready statement
28$(document).ready(function() {
29
30	// highlight current page in menu
31	// recognize site event from path
32	var event = window.location.pathname.split('/', 3).pop().toLowerCase();
33	// empty event = default index
34	if (event == '') event = 'index';
35	// top menu
36	$('.navbar-collapse a').each(function() {
37
38		var el = $(this);
39		var link = el.attr('href').split('/').pop().toLowerCase();
40
41		if (event == 'index' & link == '') { 
42			el.parent().addClass('active');
43			return false;
44		}
45		if (event == link) { 
46			el.parent().addClass('active');
47			return false;
48		}
49
50	});
51
52	// responsive table
53	$('.mce-item-table:not(.responsive-table-disable)').stacktable();
54
55	// fancybox init
56	if ($.fn.fancybox) $('.fancybox').fancybox();
57
58	// wrap image into fancybox link
59	$('.js-fancybox-wrap').each(function() {
60		let image_url = $(this).attr('src').split('?')[0];
61		$(this).wrap('<a href="' + image_url + '?1800:1000" class="fancybox"></a>');
62	});
63
64	// GDPR - accessibility the send button after ticking the required checkbox
65	$('.gdpr-required').on('change', function() {
66		if ( $(this).is(':checked') ) {
67			$('.gdpr-submit-button').attr('disabled', false).css('opacity', 1).css('cursor', 'pointer');
68		}
69		else {
70			$('.gdpr-submit-button').attr('disabled', true).css('opacity', .3).css('cursor', 'not-allowed');
71		}
72	}).trigger('change');
73
74	// custom footer - body margin-bottom
75	var customFooterHeight = $('.custom-footer').outerHeight();
76	var footerHeight = 60;
77	$('body').css('margin-bottom', customFooterHeight + footerHeight + 50 + 'px');
78
79	// carousel custom settings
80	$('.carousel').carousel({
81		pause: null
82	})
83
84});

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.