1// When the user scrolls the page, execute myFunction 2window.onscroll = function() {myFunction()}; 3 4// Get the header 5var header = document.getElementById("header"); 6 7// Get the offset position of the navbar 8//var sticky = header.offsetTop; 9var sticky = 290; 10 11 12// Add the sticky class to the header when you reach its scroll position. Remove "sticky" when you leave the scroll position 13function myFunction() { 14 if (window.pageYOffset > sticky) { 15 header.classList.add("zink_sticky"); 16 } else { 17 header.classList.remove("zink_sticky"); 18 } 19} 20 21jQuery( document ).ready(function() { 22 23 jQuery('.sidebar .widget_products .product_list_widget .woocommerce-de_price_taxrate').each(function(index) { 24 jQuery(this).parent().parent().find('.product_list_widget li').eq(index).append(jQuery(this)); 25 }); 26 27 jQuery('.sidebar .widget_products .product_list_widget .woocommerce_de_versandkosten').each(function(index) { 28 jQuery(this).parent().parent().find('.product_list_widget li').eq(index).append(jQuery(this)); 29 }); 30 31 jQuery('.sidebar .widget_products .product_list_widget .shipping_de_string').each(function(index) { 32 jQuery(this).parent().parent().find('.product_list_widget li').eq(index).append(jQuery(this)); 33 }); 34 35}); 36
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.