1( function( $ ) { 2 $(document).ready(function() { 3 4 if( $(window).width() > 992 ) { 5 6 var h = $('.navbarouter').offset().top; 7 8 var placeholder = document.createElement('div'); 9 placeholder.setAttribute("class", "menuplaceholder"); 10 placeholder.style.width = $('.navbarouter').width() + 'px'; 11 placeholder.style.height = $('.navbarouter').height() + 'px'; 12 13 $(window).scroll(function () { 14 if( $(this).scrollTop() > h ) { 15 $('.navbarouter').addClass('sticky_menu_top'); 16 $('.navbarouter').after(placeholder); 17 $('.menuplaceholder').css('display','block'); 18 } else { 19 $('.navbarouter').removeClass('sticky_menu_top'); 20 $('.menuplaceholder').css('display','none'); 21 } 22 23 }); 24 } 25 }); 26})( 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.