1$(document).ready(function() {� 2 � 3 � 4 � 5 � 6 $.fn.menumaker = function(options) {� 7 � 8 var cssmenu = $(this), settings = $.extend({� 9 title: "Menu",� 10 format: "dropdown",� 11 sticky: false� 12 }, options);� 13� 14 return this.each(function() {� 15 � 16 cssmenu.prepend('<div id="menu-button"><span></span><span></span><span></span>' + settings.title + '</div>');� 17 $(this).find("#menu-button").on('click', function(){� 18 $(this).toggleClass('menu-opened');� 19 var mainmenu = $(this).next('ul');� 20 if (mainmenu.hasClass('open')) { � 21 mainmenu.slideUp().removeClass('open');� 22 }� 23 else {� 24 mainmenu.slideDown().addClass('open');� 25 if (settings.format === "dropdown") {� 26 mainmenu.find('ul').slideDown();� 27 }� 28 }� 29 });� 30 � 31 cssmenu.find('li ul').parent().addClass('has-sub');� 32� 33 multiTg = function() {� 34 cssmenu.find(".has-sub").prepend('<span class="submenu-button"></span>');� 35 cssmenu.find('.submenu-button').on('click', function() {� 36 $(this).toggleClass('submenu-opened');� 37 if ($(this).siblings('ul').hasClass('open')) {� 38 $(this).siblings('ul').removeClass('open').slideUp();� 39 }� 40 else {� 41 $(this).siblings('ul').addClass('open').slideDown();� 42 }� 43 });� 44 };� 45� 46 if (settings.format === 'multitoggle') multiTg();� 47 else cssmenu.addClass('dropdown');� 48 � 49 � 50 });� 51 };� 52 � 53 $(".navy").menumaker({� 54 title: "Navigation",� 55 format: "multitoggle"� 56 });� 57 � 58 � 59 $('#menu-button').click(function(){� 60 $(this).toggleClass('open');� 61 });� 62 � 63 � 64 new AnimOnScroll( document.getElementById( 'grid' ), {� 65 minDuration : 0.4,� 66 maxDuration : 0.7,� 67 viewportFactor : 0.2� 68 } );� 69 � 70});�
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.