1$(document).ready(function() { 2 $('a.abstract').click(function() { 3 $(this).parent().parent().find(".abstract.hidden").toggleClass('open'); 4 }); 5 // $('a.bibtex').click(function() { 6 // $(this).parent().parent().find(".bibtex.hidden").toggleClass('open'); 7 // }); 8 $('.navbar-nav').find('a').removeClass('waves-effect waves-light'); 9 10 $('body').scrollspy({ 11 target: ".navbar", 12 offset: $('nav').outerHeight() 13 }); 14}); 15 16//jQuery for page scrolling feature - requires jQuery Easing plugin 17$(function() { 18 $('a.page-scroll').bind('click', function(event) { 19 event.preventDefault(); 20 var $anchor = $(this); 21 var href = $anchor.attr('href'); 22 var navHeight = $('nav').outerHeight(); 23 var offset = 0; 24 if (href != '/') { 25 offset = Math.max(0, $(href).offset().top - navHeight); 26 }; 27 $('html, body').stop().animate({ 28 scrollTop: offset 29 }, 1500, 'easeInOutExpo'); 30 }) 31}); 32 33//bibtex popup 34$(function(){ 35 $('#bibtex-modal').on('show.bs.modal', function(event) { 36 var button = $(event.relatedTarget) 37 var bibdata = $.trim(button.parent().parent().find(".bibtex.hidden").text()) 38 $(this).find('#bibtex-content').text(bibdata) 39 }) 40});
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.