1console.log('scripty included!'); 2 3(function($) { 4$( document ).ready(function() { 5 6 $('.fm-icon').prepend('<img id="theImg" src="https://admonter.com/wp-content/uploads/admonter_icon-1.png" />'); 7 $('.fm-label').html('<span>Zu den<br>Schauräumen</span>'); 8 9$('#btnshowrooms').on('click', function(){ 10 console.log('showrooms clicked!'); 11 gtag('event', 'Button Showroom clicked', { 12 'method': 'Google' 13 }); 14}); 15 16$('#btnholzarten').on('click', function(){ 17 console.log('btnholzarten clicked!'); 18 gtag('event', 'Button Holzarten clicked', { 19 'method': 'Google' 20 }); 21}); 22 23$('.searchicon').on('click', function(){ 24 $('.searchbar').show(); 25 $('.searchbar').css('width', '100%'); 26 console.log("searchbar shown"); 27}); 28 29 var options = $('select.laender ' + " option"); 30 31 options.sort(function(a,b) { 32 if (a.text.toUpperCase() > b.text.toUpperCase()) return 1; 33 else if (a.text.toUpperCase() < b.text.toUpperCase()) return -1; 34 else return 0; 35 }); 36 $('select.laender').empty().append( options ); 37 38 39 $(window).scroll(function(){ 40 if($(this).scrollTop() > 500) { 41 $(".splitscreenmenu").addClass('customSticky'); 42 } 43 if($(this).scrollTop() < 500) { 44 $(".splitscreenmenu").removeClass('customSticky'); 45 } 46 47 }); 48if (!document.querySelector("h1")) { 49console.log('no h1!'); 50 let firstH2 = document.querySelector("h2"); 51 52 if (firstH2) { 53 let h1 = document.createElement("h1"); 54 h1.innerHTML = firstH2.innerHTML; 55 56 for (let attr of firstH2.attributes) { 57 h1.setAttribute(attr.name, attr.value); 58 } 59 60 firstH2.parentNode.replaceChild(h1, firstH2); 61 } 62} 63}); 64})( jQuery );
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.