1 2 // ===== Scroll Features ==== 3 jQuery(window).scroll(function() { 4 var topbarScrollHeight = jQuery('#top-bar.top-bar-scroll').outerHeight(); 5 var headerHeight = jQuery('#header').outerHeight(); 6 if (jQuery(this).scrollTop() >= 100) { // Scroll In 7 8 // Return to Top (in) 9 jQuery('#return-to-top').fadeIn(200); 10 } else { // Scroll Out 11 12 // Return to Top (out) 13 jQuery('#return-to-top').fadeOut(200); 14 15 } 16 }); 17 jQuery('#return-to-top').click(function() { // When arrow is clicked 18 jQuery('body,html').animate({ 19 scrollTop : 0 // Scroll to top of body 20 }, 500); 21 }); 22 23 // Single Post Meta Box Handling 24 if(jQuery('.post-rating-wrapper').length === 0){ 25 jQuery('#share').addClass('full'); 26 }; 27 28 if(jQuery('#share').length === 0){ 29 jQuery('.post-rating-wrapper').addClass('full'); 30 }; 31 32 33 jQuery(window).scroll(function() { 34 if (jQuery(this).scrollTop() >= 50) { // Scroll In 35 jQuery('#top-bar').addClass('scrolled'); 36 } else { // Scroll Out 37 jQuery('#top-bar').removeClass('scrolled'); 38 39 } 40 }); 41 42 43 /*** Search Form Popover Controls ***/ 44 45 jQuery('.search-icon').on('click', function() { 46 jQuery('#search-hvr-top').addClass('active'); 47 jQuery('#search-hvr-bottom').addClass('active'); 48 jQuery('#form-field').addClass('active'); 49 }) 50 51 jQuery('#close-icon').on('click', function() { 52 jQuery('#search-hvr-top').removeClass('active'); 53 jQuery('#search-hvr-bottom').removeClass('active'); 54 jQuery('#form-field').removeClass('active'); 55 }) 56 57 jQuery('#search-hvr-top').on('click', function() { 58 jQuery('#search-hvr-top').removeClass('active'); 59 jQuery('#search-hvr-bottom').removeClass('active'); 60 jQuery('#form-field').removeClass('active'); 61 }) 62 63 jQuery('#search-hvr-bottom').on('click', function() { 64 jQuery('#search-hvr-top').removeClass('active'); 65 jQuery('#search-hvr-bottom').removeClass('active'); 66 jQuery('#form-field').removeClass('active'); 67 }) 68
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.