1/* 2 * Settings of the sticky menu 3 */ 4 5jQuery(document).ready(function(){ 6 var wpAdminBar = jQuery('#wpadminbar'); 7 if (wpAdminBar.length) { 8 jQuery("#site-navigation").sticky({topSpacing:wpAdminBar.height()}); 9 } else { 10 jQuery("#site-navigation").sticky({topSpacing:0}); 11 } 12 13 if (wpAdminBar.length) { 14 if (jQuery(document).width() > 768) { 15 var height_stop = jQuery('.advertisement_above_footer').height() + jQuery('footer').height()+ 20; 16 jQuery.lockfixed("#secondary .fixed_menu",{offset: {top: 56, bottom: height_stop}});} 17 } 18 else { 19 if (jQuery(document).width() > 768) { 20 var height_stop = jQuery('.advertisement_above_footer').height() + jQuery('footer').height()+ 20; 21 jQuery.lockfixed("#secondary .fixed_menu",{offset: {top: 56, bottom: height_stop}});} 22 23 24 } 25 26 if (wpAdminBar.length) { 27 if (jQuery(document).width() > 768) { 28 var height_stop = jQuery('.advertisement_above_footer').height() + jQuery('footer').height()+ 20; 29 jQuery.lockfixed("#secondary #text-21",{offset: {top: 56, bottom: height_stop}});} 30 } 31 else { 32 if (jQuery(document).width() > 768) { 33 var height_stop = jQuery('.advertisement_above_footer').height() + jQuery('footer').height(); 34 jQuery.lockfixed("#secondary #text-21",{offset: {top: 56, bottom: height_stop}}); 35 36 } 37 38 39 } 40 41});
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.