1jQuery(document).ready(function ($) { 2 3// toTop button 4 $(window).scroll(function () { 5 if ($(this).scrollTop() != 0) $('#toTop').fadeIn(); 6 else $('#toTop').fadeOut(); 7 }); 8 $('#toTop').click(function () { 9 $('body,html').animate({scrollTop: 0}, 500); 10 }); 11 12 13// responsive menu 14// var nav = $('.topnav nav'), 15// pull = $('#mobile-menu'); 16// 17// if ( window.innerWidth < 1024) { 18// // if ( $(document).width() < 1024) { 19// nav.hide(); 20// pull.removeClass('mm-active'); 21// } 22// pull.click(function() { 23// if ( nav.is(':visible') ) { 24// nav.hide(); 25// pull.removeClass('mm-active'); 26// } else { 27// nav.show(); 28// pull.addClass('mm-active'); 29// } 30// return false; 31// }); 32// $(window).resize(function(){ 33// if ( window.innerWidth >= 1024 ) { 34// pull.hide(); 35// nav.show(); 36// } else { 37// pull.show().removeClass('mm-active'); 38// nav.hide(); 39// } 40// }); 41 42 // responsive menu 43 // $(function () { 44 var $window = $(window), 45 $nav = $('.topnav nav'), 46 $button = $('#mobile-menu'); 47 48 $button.on('click', function () { 49 $nav.slideToggle(); 50 }); 51 52 $window.on('resize', function () { 53 if ($window.width() >= 1024) { 54 $nav.show(); 55 } 56 }); 57 // }); 58 59 60// social buttons 61 $('.psb').click(function () { 62 window.open($(this).attr("href"), 'displayWindow', 'width=700,height=400,left=200,top=100,location=no, directories=no,status=no,toolbar=no,menubar=no'); 63 return false; 64 }); 65 66});
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.