PageSourceSearch

https://www.denederlandseschool.nl/wp-content/themes/envo-blog/js/customscript.js?ver=1.1.5

js denederlandseschool.nl collected 2026-09-26 09:03:12 UTC 1,921 bytes, 55 lines download raw bytes

1// scroll to top button
2jQuery( document ).ready( function ( $ ) {
3    // Menu fixes
4    $( function () {
5        if ( $( window ).width() > 767 ) {
6            $( ".dropdown" ).hover(
7                function () {
8                    $( this ).addClass( 'open' )
9                },
10                function () {
11                    $( this ).removeClass( 'open' )
12                }
13            );
14        }
15    } );
16    $( '.navbar .dropdown-toggle' ).hover( function () {
17        $( this ).addClass( 'disabled' );
18    } );
19    $( window ).scroll( function () {
20        var topmenu = $( '#top-navigation' ).outerHeight();
21        var mainmenu = $( '.site-header' ).outerHeight();
22        if ( $( document ).scrollTop() > ( topmenu + mainmenu + 50 ) ) {
23            $( 'nav#site-navigation' ).addClass( 'shrink' );
24        } else {
25            $( 'nav#site-navigation' ).removeClass( 'shrink' );
26        }
27    } );
28    
29    $('.open-panel').each(function(){
30        var menu = $( this ).data( 'panel' );
31        $( "#" +menu ).click( function () {
32            $( "#blog" ).toggleClass( "openNav" );
33            $( "#" +menu+ ".open-panel" ).toggleClass( "open" );
34        } );
35    });
36    
37    $( '.top-search-icon' ).click(function() {
38        $( ".top-search-box" ).toggle( 'slow' );
39        $( ".top-search-icon .fa" ).toggleClass( "fa-times fa-search" );
40    });
41    
42    $( ".split-slider.news-item-3" ).hover(function() {
43        $( ".news-item-2" ).toggleClass( "split-slider-left" );
44      });
45} );
46
47jQuery( window ).on( 'load resize', function () {   
48    // Mobile menu height fix
49    if ( jQuery( window ).width() < 768 ) {
50        var vindowHeight = jQuery( window ).height();
51        var navHeight = jQuery( '#site-navigation' ).height();
52        jQuery( '.menu-container' ).css( 'max-height', vindowHeight - navHeight + 'px' );
53        jQuery( '.menu-container' ).css( 'padding-bottom', '60px' );
54    }
55} );

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.