PageSourceSearch

https://cms.svtech.cz/templates/onscroll/onscroll.js

js svtech.cz collected 2026-10-02 00:35:18 UTC 935 bytes, 49 lines download raw bytes

1// Top bar on scroll - set backgrounds, colors...
2
3function onscroll_top_bar_1_light() {
4
5$(window).scroll(function(){
6    if ($(this).scrollTop() > 200) {
7		$('#top-1').addClass('bg-ffffff');
8    } else {
9       $('#top-1').removeClass('bg-ffffff');
10    }
11});
12
13}
14
15function onscroll_top_bar_1_dark() {
16
17$(window).scroll(function(){
18    if ($(this).scrollTop() > 200) {
19		$('#top-1').addClass('bg-000000');
20    } else {
21       $('#top-1').removeClass('bg-000000');
22    }
23});
24
25}
26
27function onscroll_top_bar_2() {
28
29$(window).scroll(function(){
30    if ($(this).scrollTop() > 200) {
31		$('#top-2').addClass('bg-ffffff');
32    } else {
33       $('#top-2').removeClass('bg-ffffff');
34    }
35});
36
37}
38
39function onscroll_top_bar_3() {
40
41$(window).scroll(function(){
42    if ($(this).scrollTop() > 200) {
43		$('#top-3').addClass('bg-ffffff');
44    } else {
45		$('#top-3').removeClass('bg-ffffff');
46    }
47});
48
49}

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.