PageSourceSearch

https://www.hbhotel.at/typo3temp/assets/compressed/header-1cbb146a28252543d1519b748ded1e8e.js?1720441891

js hbhotel.at collected 2026-10-06 10:26:58 UTC 1,580 bytes, 45 lines download raw bytes

1var headerInvert = 0
2if($('#header').hasClass('invert')) {
3    headerInvert = 1
4}
5
6function headerScrolling() {
7    var scrollPosition = $(document).scrollTop();
8    if(scrollPosition > 100) {
9        $('#header').removeClass('invert').addClass('small');
10    } else {
11        $('#header').removeClass('small');
12        if(headerInvert == 1 && $('#header .open').length < 1) { $('#header').addClass('invert'); }
13    }
14}
15
16window.addEventListener('DOMContentLoaded', headerScrolling);
17window.addEventListener('scroll', headerScrolling, true);
18window.addEventListener('resize', headerScrolling);
19
20function quickSearch() {
21    $('.searchbutton').on('click', function(e) {
22        if(breakpoint == 'md' || breakpoint == 'lg') {
23            e.preventDefault();
24            if($(this).hasClass('open')) {
25                $('#header *').removeClass('open');
26                $('#header #search input:not(#submit)').focusout();
27                $('html').removeClass('noscroll');
28                if(headerInvert == 1) {
29                    headerScrolling();
30                }
31                tx_tracking.event('quicksearch', 'close');
32            } else {
33                $('#header').removeClass('invert');
34				$('#header').addClass('small');
35                $('#header *').removeClass('open');
36                $(this).addClass('open');
37                $('#header #search').addClass('open');
38                $('html').addClass('noscroll');
39                tx_tracking.event('quicksearch', 'open');
40            }
41        }
42    });
43}
44
45window.addEventListener('DOMContentLoaded', quickSearch);

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.