PageSourceSearch

https://www.spobu-nl.com/_assets/89e8d313c8ef3a170fa4f4d9afa91553/JavaScript/heindl.js?1789460794

js spobu-nl.com collected 2026-10-10 01:52:16 UTC 2,316 bytes, 79 lines download raw bytes

1$(document).ready(function () {
2    //Only go to the link when dropdown is already open (if the dropdown is a link)
3
4    $('.navbar ul.navbar-nav > .dropdown > a[href]').click(function() {
5        var isTouchDevice = 'ontouchstart' in document.documentElement;
6
7        if (isTouchDevice || (window.innerWidth <= 1280)) {
8            var dropdown = $(this).next('.dropdown-menu');
9
10
11            // * The dropdown can be non-existent
12            // * The dropdown can be already open by css
13            // * (for instance display: block from a custom :hover setting)
14            // * or a "show" class on the element which also sets a display: block;
15
16            if (dropdown.length == 0 || $(dropdown).css('display') !== 'none') {
17                if (this.href) {
18                    location.href = this.href;
19                }
20            }
21        } else {
22            location.href = this.href;
23        }
24    });
25
26
27    $('.flyout-btn').on('click',function(e) {
28        $('.flyout-btn').not(this).closest("li").toggleClass('flyoutOpen',false);
29        $(this).closest("li").toggleClass('flyoutOpen');
30        e.preventDefault();
31    });
32
33    //$(document).on('change','input,select',function(e) {
34    //	document.konfigurator.submit();
35    //});
36
37    $('#KonfiguratorSend').addClass('hidden');
38
39    $('#konfigurator').on('change','input,select',function(e) {
40        document.konfigurator.submit();
41    });
42
43    jQuery(function($){
44
45        // Touch Device Detection
46        var isTouchDevice = 'ontouchstart' in document.documentElement;
47        if( isTouchDevice ) {
48            $('body').removeClass('no-touch');
49        }
50
51    });
52
53});
54
55
56function normalizeSlideHeights() {
57    $('.carousel').each(function(){
58        var items = $('.carousel-item', this);
59        // reset the height
60        items.css('min-height', 0);
61        // set the height
62        var maxHeight = Math.max.apply(null,
63            items.map(function(){
64                return $(this).outerHeight()}).get() );
65        items.css('min-height', maxHeight + 'px');
66    })
67}
68
69$(window).on(
70    'load resize orientationchange',
71    normalizeSlideHeights);
72
73
74
75document.addEventListener('DOMContentLoaded', () => {
76    document.querySelectorAll('.notranslate').forEach((element) => {
77        element.setAttribute('translate', 'no');
78    });
79});

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.