1jQuery(document).ready(function() { 2 jQuery('html').addClass('js'); 3 4 var navToggle = ['<div class="btn"><span></span></div>'].join(""); 5 jQuery("#header .menu").after(navToggle) 6}); 7 8jQuery(function() { 9 var pull = jQuery('#header .btn'); 10 menu = jQuery('#header nav'); 11 menuHeight = menu.height(); 12 13 jQuery(pull).on('click', function(e) { 14 e.preventDefault(); 15 menu.toggle(); 16 }); 17 18 jQuery(window).resize(function(){ 19 var w = jQuery(window).width(); 20 if(w > 710 && menu.is(':hidden')) { 21 menu.removeAttr('style'); 22 } 23 }); 24}); 25 26( function($) { 27 $(document).ready(function(){ 28 $('.btn').click(function() { 29 $('body').toggleClass("nav-open"); 30 }); 31 }); 32} ) ( jQuery ); 33 34( function($) { 35 $(document).ready(function(){ 36 $('.button-popup').click(function() { 37 $('.popup').addClass("hide"); 38 }); 39 }); 40} ) ( jQuery );
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.