1// JavaScript Document 2$(function(){ 3 var $win = $(window), 4 $main = $('#sub_main'), 5 $nav = $('#navi'), 6 navHeight = $nav.outerHeight(), 7 navPos = $nav.offset().top, 8 fixedClass = 'is-fixed'; 9 10 $win.on('load scroll', function() { 11 var value = $(this).scrollTop(); 12 if ( value > navPos ) { 13 $nav.addClass(fixedClass); 14 $main.css('margin-top', navHeight); 15 } else { 16 $nav.removeClass(fixedClass); 17 $main.css('margin-top', '0'); 18 } 19 }); 20 21 $('.bazzlog_detail .bazz_detail_body p em').on('inview', function(event, isInView) { 22 if (!$(this).hasClass("active")) { 23 $(this).addClass('active'); 24 } 25 }); 26});
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.