1jQuery(document).ready(function($) { 2'use strict'; 3 $(window).on("scroll", jQuery.throttle( 250, function() { 4 if($('.sidebar').length > 0){ 5 var sheight = $('.sidebar').height(); 6 var theight = $('.sidebar').offset(); 7 var swidth = $('.sidebar').width(); 8 var tthis = $('.sidebar .stickyscroll_widget').first().height(); 9 }else{ 10 var sheight = $('.elementor-widget-sidebar').height(); 11 var theight = $('.elementor-widget-sidebar').offset(); 12 var swidth = $('.elementor-widget-sidebar').width(); 13 var tthis = $('.elementor-widget-sidebar .stickyscroll_widget').first().height(); 14 } 15 var hbot = $('.rh-content-wrap').offset(); 16 var hfoot = $('.rh-content-wrap').height(); 17 18 if ($(this).scrollTop()>sheight + theight.top) { 19 $('.sidebar .stickyscroll_widget').first().css({'position':'fixed','top':'90px', 'width': swidth}).addClass('scrollsticky'); 20 if($('.sidebar .stickyscroll_widget .autocontents').length > 0){ 21 $('.sidebar .stickyscroll_widget .autocontents').css({'max-height':'620px','overflow-y':'auto'}); 22 } 23 } 24 else { 25 $('.sidebar .stickyscroll_widget').first().css({'position':'static', 'width':'auto','top':'0'}).removeClass('scrollsticky'); 26 if($('.sidebar .stickyscroll_widget .autocontents').length > 0){ 27 $('.sidebar .stickyscroll_widget .autocontents').css({'max-height':'2000px'}); 28 } 29 } 30 if ($(this).scrollTop()>hfoot + hbot.top - tthis ) $('.sidebar .stickyscroll_widget').first().css({'position':'static', 'width':'auto','top':'0'}).removeClass('scrollsticky'); 31 })); 32});
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.