PageSourceSearch

https://www.smilingcrocodile.org/_definice-scriptu.js?ver=1791503331

js smilingcrocodile.org collected 2026-10-08 23:48:59 UTC 1,008 bytes, 42 lines download raw bytes

1document.addEventListener('DOMContentLoaded', function() {
2  const navLinks = document.querySelectorAll('.nav-link-collapse');
3  const navbarCollapse = document.querySelector('.navbar-collapse');
4
5  navLinks.forEach(function(link) {
6    link.addEventListener('click', function() {
7      const bsCollapse = new bootstrap.Collapse(navbarCollapse, {
8        toggle: false
9      });
10      bsCollapse.hide();
11      // Necháme výchozí chování odkazu, tedy navigaci na href
12    });
13  });
14
15
16	/* zvětšení obrázku */
17	$(".galerie img").hover(function() {
18		$(this).addClass("zvetseni");
19	},function() {
20		$(this).removeClass("zvetseni");
21	});
22
23
24});
25
26
27
28
29
30
31
32
33document.addEventListener('DOMContentLoaded', function() {
34  var hash = window.location.hash;
35  if (hash) {
36    var tabTriggerEl = document.querySelector('button[data-bs-target="' + hash + '"]');
37    if (tabTriggerEl) {
38      var tab = new bootstrap.Tab(tabTriggerEl);
39      tab.show();
40    }
41  }
42});

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.