1 2/* 3 Copyright: (c) 2015 TheGrue, http://thegrue.org/ 4*/ 5 6 7jQuery(document).ready(function($) { 8 9 10/* DropDown Animation 11/* ------------------------------------ */ 12 $('#gruemenu ul.sub-menu').hide(); 13 $('#gruemenu li').hover( 14 function() { 15 $(this).children('ul.sub-menu').fadeIn(300); 16 }, 17 function() { 18 $(this).children('ul.sub-menu').hide(); 19 } 20 ); 21 22 23/* Fixed Navigation Menu starting at 300px from top 24/* ------------------------------------ */ 25 $(window).bind('scroll', function () { 26 if ($(window).scrollTop() > 300) { 27 $('#gruemenu').addClass('gruefixed'); 28 } else { 29 $('#gruemenu').removeClass('gruefixed'); 30 } 31 }); 32 33/* Touch Events 34/* ------------------------------------ */ 35 $(window).touchwipe({ 36 wipeLeft: function() { 37 // Close 38 $.sidr('close', 'sidr-main'); 39 }, 40 wipeRight: function() { 41 // Open 42 $.sidr('open', 'sidr-main'); 43 }, 44 preventDefaultEvents: false 45 }); 46 47});
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.