1function livemenu(){ 2 $('.button-toggle-navigation').on('click', function() { 3 var $this = $(this); 4 if ( $this.hasClass('isActive') ) 5 { 6 $(this).removeClass('isActive'); 7 $.magnificPopup.close(); 8 } 9 else{ 10 $(this).addClass('isActive'); 11 $.magnificPopup.open({ 12 mainClass: 'mfp-menu', 13 fixedContentPos:true, 14 showCloseBtn: false, 15 items: { 16 src: '.menu-overlay', 17 type: 'inline' 18 }, 19 callbacks: { 20 close: function() { 21 $('.button-toggle-navigation').removeClass('isActive'); 22 } 23 } 24 }); 25 } 26 }); 27} 28 29// On document ready ++++++++++++++++++++++++++++++++++++ 30$(function() { 31 32 // init menu 33 livemenu(); 34 35 // splash screen 36 var $splash = $('.splash-screen'); 37 // if splash exists 38 if ( $splash.length ){ 39 // fade in image once loaded 40 $('.splash-image').imagesLoaded({ background: true }, function() { 41 $('.splash-image').addClass('loaded'); 42 }); 43 // fade out on click 44 $('.splash-screen').click(function() { 45 $splash.fadeOut(800); 46 }); 47 // fade out after time 48 setTimeout(function (){ 49 $splash.fadeOut(800); 50 }, 3800); 51 } 52 53}); 54 55// On resize ++++++++++++++++++++++++++++++++++++ 56$(window).smartresize(function(){ 57});
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.