1/* 2 * Javascript for Lagit Theme 3 * Copyright 2014 Theme 5 (theme5.net) 4 * 5 */ 6 7jQuery(document).ready(function() { 8 // Collapse or expand button on Title Section 9 jQuery('.section .title').click(function() { 10 var icon = jQuery(this).find(".icon"); 11 if(icon.hasClass("ui-icon-collapse")) { 12 icon.removeClass("ui-icon-collapse").addClass("ui-icon-expanded"); 13 } else { 14 icon.removeClass("ui-icon-expanded").addClass("ui-icon-collapse"); 15 } 16 }); 17 18 // Scroll to top when section expanded 19 jQuery('.content').on('show.bs.collapse', function () { 20 jQuery("html, body").animate({ 21 scrollTop: jQuery(this).parent().find(".title").offset().top + "px" 22 }); 23 }); 24 25 // Using NiceScroll on browser 26 jQuery("html").niceScroll({cursoropacitymax:0.7,cursorborder:"0",cursorwidth:"7px",cursorborderradius:"0"}); 27 28 // Back to top button 29 jQuery('.btn-backtop').click(function() { 30 jQuery("html, body").animate({ 31 scrollTop: "0px" 32 }); 33 }); 34}); 35 36 37// BLOG SECTION // 38jQuery('.disabled').click(function() { 39 return false; 40 jQuery(this).blur(); 41});
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.