1 2// Menu dropdown animation 3/* 4jQuery(function($) { 5 $('.sub-menu').hide(); 6 $('.main-navigation .children').hide(); 7 $('.menu-item').hover( 8 function() { 9 $(this).children('.sub-menu').slideDown(); 10 }, 11 function() { 12 $(this).children('.sub-menu').hide(); 13 } 14 ); 15 $('.main-navigation li').hover( 16 function() { 17 $(this).children('.main-navigation .children').slideDown(); 18 }, 19 function() { 20 $(this).children('.main-navigation .children').hide(); 21 } 22 ); 23}); 24*/ 25 26//Open social links in a new tab 27jQuery(function($) { 28 $( '.social-navigation li a' ).attr( 'target','_blank' ); 29}); 30 31//Scroll arrow 32jQuery(function($) { 33 $('.scroll-icon').click(function(){ 34 $('html, body').animate({ 35 scrollTop: $( $.attr(this, 'href') ).offset().top 36 }, 1000); 37 return false; 38 }); 39}); 40 41//Back to top 42jQuery(function($) { 43 $('.scrolltop').click(function(){ 44 $('html, body').animate({ 45 scrollTop : 0 46 },1500); 47 return false; 48 }); 49}); 50 51//Parallax 52jQuery(function($) { 53 $('.header-image').parallax('50%', 0.3); 54}); 55 56//Fit Vids 57jQuery(function($) { 58 $('body').fitVids(); 59}); 60 61//Mobile menu 62jQuery(function($) { 63 $('.main-navigation .menu').slicknav({ 64 label: '<i class="fa fa-bars"></i>', 65 prependTo: '.mobile-nav', 66 closedSymbol: '+', 67 openedSymbol: '-', 68 allowParentLinks: true 69 }); 70 $('.info-close').click(function(){ 71 $(this).parent().fadeOut(); 72 return false; 73 }); 74});
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.