1/* These scripts are executed on desktop only */ 2(function ($) { 3 4 function programs_scroll() { 5 var div = $('.daily_programs'), 6 wrapScreenHeight = div.height(), 7 wrapHeight = div.outerHeight(), 8 listHeight = div.find('.items').outerHeight(); 9 10 div.on('mousemove', function (e) { 11 var cPointY = e.pageY, 12 dP = ((cPointY / wrapHeight)); 13 div.scrollTop((listHeight * dP) - wrapScreenHeight - 150); 14 }); 15 } 16 17 $(document).ready(function () { 18 19 // Back to top button handler. 20 function back_to_top() { 21 $(window).scroll(function () { 22 if ($(this).scrollTop() > 250) { 23 $('#back_to_top').fadeIn(300); 24 } 25 else { 26 $('#back_to_top').fadeOut(300); 27 } 28 }); 29 30 $('#back_to_top').on('click', function () { 31 $('body,html').animate({ 32 scrollTop: 0 33 }, 800); 34 return false; 35 }); 36 } 37 38 back_to_top(); 39 40 }); 41 42 $(window).load(function () { 43 programs_scroll(); 44 }); 45 46 47})(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.