1jQuery( function($) { 2 3 $(document).ready(function(){ 4 5 // Main menu superfish 6 $('ul.sf-menu').superfish({ 7 delay: 200, 8 animation: {opacity:'show', height:'show'}, 9 speed: 'fast', 10 cssArrows: false, 11 disableHI: true 12 }); 13 14 // Mobile Menu 15 $('#navigation-toggle').sidr({ 16 name: 'sidr-main', 17 source: '#sidr-close, #site-navigation, #mobile-search', 18 side: 'left' 19 }); 20 $(".sidr-class-toggle-sidr-close").click( function() { 21 $.sidr('close', 'sidr-main'); 22 return false; 23 }); 24 25 // Close the menu on window change 26 $(window).resize(function() { 27 $.sidr('close', 'sidr-main'); 28 }); 29 30 //Prettyphoto - for desktops only 31 if ($(window).width() > 767) { 32 33 // PrettyPhoto Without gallery 34 $(".wpex-lightbox").prettyPhoto({ 35 show_title: false, 36 social_tools: false, 37 slideshow: false, 38 autoplay_slideshow: false, 39 wmode: 'opaque' 40 }); 41 42 //PrettyPhoto With Gallery 43 $("a[rel^='wpexLightboxGallery']").prettyPhoto({ 44 show_title: false, 45 social_tools: false, 46 autoplay_slideshow: false, 47 overlay_gallery: true, 48 wmode: 'opaque' 49 50 }); 51 52 } 53 54 // Fixed Header 55 //$("#header-wrap.fixed-header").sticky({topSpacing:0}); 56 57 }); // End doc ready 58 59 $(window).load(function(){ 60 // Homepage FlexSlider 61 $('#homepage-slider').flexslider({ 62 animation: 'slide', 63 slideshow: true, 64 smoothHeight: true, 65 controlNav: false, 66 directionNav: true, 67 prevText: '<span class="fa fa-angle-left"></span>', 68 nextText: '<span class="fa fa-angle-right"></span>', 69 controlsContainer: ".flexslider-container" 70 }); 71 // Post FlexSlider 72 $('div.post-slider').flexslider({ 73 animation: 'slide', 74 slideshow: true, 75 smoothHeight: true, 76 controlNav: false, 77 directionNav: true, 78 prevText: '<span class="fa fa-angle-left"></span>', 79 nextText: '<span class="fa fa-angle-right"></span>', 80 controlsContainer: ".flexslider-container" 81 }); 82 83 }); // End on window load 84 85});
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.