1jQuery( function(){ 2 3 if ('undefined' != typeof FLBuilderLayoutConfig) { 4 FLBuilderLayoutConfig.anchorLinkAnimations.duration = 1000; 5 FLBuilderLayoutConfig.anchorLinkAnimations.easing = 'swing'; 6 FLBuilderLayoutConfig.anchorLinkAnimations.offset = 0; 7 } 8 9 jQuery('a[href*="#"]:not([href="#"])').click(function() { 10 if(location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) { 11 var target = jQuery(this.hash); 12 target = target.length ? target : jQuery('[name=' + this.hash.slice(1) +']'); 13 if(target.length) { 14 jQuery('html,body').animate({ 15 scrollTop: target.offset().top 16 }, 1000); 17 return false; 18 } else if(this.hash.slice(1) == 'top') { 19 jQuery('html,body').animate({ 20 scrollTop: 0 21 }, 1000); 22 return false; 23 } 24 } 25 }); 26 27 jQuery("img.lazy").lazyload(); 28 jQuery("a[rel^='prettyPhoto']").prettyPhoto({ 29 deeplinking:false, 30 theme:'light_square', 31 slideshow:false, 32 social_tools:false, 33 changepicturecallback: function(){add_ftfooter()} 34 }); 35 36 jQuery('.closepp').on('click',function(){ jQuery.prettyPhoto.close(); return false; }); 37 38 if(jQuery('.floatingcontactcontainer').offset()) { 39 40 jQuery(window).scroll(function() { 41 42 var refernceheight = (jQuery('.topbar').height()+jQuery('nav').height()-105); 43 44 if(jQuery(this).scrollTop() > refernceheight) { 45 46 jQuery('.floatingcontactcontainer').addClass('open'); 47 48 } else { 49 50 jQuery('.floatingcontactcontainer').removeClass('open'); 51 52 } 53 54 }); 55 56 } 57 58 if(jQuery('.floatingcontactcontainer-startpage').offset()) { 59 60 jQuery(window).scroll(function() { 61 62 var refernceheight = (jQuery('.topbar').height()+jQuery('nav').height()+180); 63 64 if(jQuery(this).scrollTop() > refernceheight) { 65 66 jQuery('.floatingcontactcontainer-startpage').addClass('open'); 67 68 } else { 69 70 jQuery('.floatingcontactcontainer-startpage').removeClass('open'); 71 72 } 73 74 }); 75 76 } 77 78 jQuery(".mobilenavigation_content ul li.menu-item-has-children").prepend('<span></span>'); 79 jQuery(".mobilenavigation_content ul li.menu-item-has-children ul").prepend('<li class="mobilenavigation_subnaviheader"><div class="flags"><a href=""><div class="de"></div></a><a href=""><div class="en"></div></a></div><div class="closesubnavi"></div></li><li class="subheader"><a href="#">Zurück</a></li>'); 80 81 jQuery(".opennavi, .closenavi").click(function() { 82 if(jQuery(".mobileoverlay").hasClass('open')) { 83 jQuery(".mobileoverlay").removeClass('open'); 84 } else { 85 jQuery(".mobileoverlay").addClass('open'); 86 } 87 }); 88 89 jQuery(".mobilenavigation_content > ul > li.menu-item-has-children").click(function() { 90 if(!jQuery(".mobileoverlay2").hasClass('open')) { 91 jQuery(".mobileoverlay2").addClass('open'); 92 jQuery(this).closest('li').find('ul.sub-menu').addClass('open'); 93 return false; 94 } 95 }); 96 97 jQuery(".closesubnavi, .subheader").click(function() { 98 jQuery(".mobileoverlay2").removeClass('open'); 99 jQuery('ul.sub-menu').removeClass('open'); 100 return false; 101 }); 102
103 jQuery(".mobileoverlay2").click(function() { 104 jQuery('ul.sub-menu').removeClass('open'); 105 jQuery(".mobileoverlay2").removeClass('open'); 106 }); 107 108 jQuery(".closeoverlay").click(function() { 109 jQuery(".mobileoverlay").removeClass('open'); 110 }); 111 112}) 113 114function add_ftfooter(){ 115 116 if(!jQuery(".download")[0]){ 117 118 jQuery("#pp_full_res").append('<p class="download" style="display:none"></p><a href="#" class="closepp"></a>'); 119 jQuery('.download').each(function(){ 120 121 jQuery(".pp_content").height((jQuery(".pp_content").height()-40)); 122 jQuery(".pp_details").html('<a href="#" class="closepp"></a>'); 123 124 }); 125 126 } 127 128}
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.