1function audio_podcast_menu_open_nav() { 2 window.audio_podcast_responsiveMenu=true; 3 jQuery(".sidenav").addClass('show'); 4} 5function audio_podcast_menu_close_nav() { 6 window.audio_podcast_responsiveMenu=false; 7 jQuery(".sidenav").removeClass('show'); 8} 9 10jQuery(function($){ 11 "use strict"; 12 jQuery('.main-menu > ul').superfish({ 13 delay: 500, 14 animation: {opacity:'show',height:'show'}, 15 speed: 'fast' 16 }); 17 18 new WOW().init(); 19 20 var leftmenu_height = $( '.left-menu' ).height(); 21 if(leftmenu_height > 540){ 22 $( '.left-menu' ).css({ 23 "overflow-y": "scroll", 24 "height": "540px" 25 }); 26 } 27 28 29}); 30 31jQuery(document).ready(function () { 32 window.audio_podcast_currentfocus=null; 33 audio_podcast_checkfocusdElement(); 34 var audio_podcast_body = document.querySelector('body'); 35 audio_podcast_body.addEventListener('keyup', audio_podcast_check_tab_press); 36 var audio_podcast_gotoHome = false; 37 var audio_podcast_gotoClose = false; 38 window.audio_podcast_responsiveMenu=false; 39 function audio_podcast_checkfocusdElement(){ 40 if(window.audio_podcast_currentfocus=document.activeElement.className){ 41 window.audio_podcast_currentfocus=document.activeElement.className; 42 } 43 } 44 function audio_podcast_check_tab_press(e) { 45 "use strict"; 46 // pick passed event or global event object if passed one is empty 47 e = e || event; 48 var activeElement; 49 50 if(window.innerWidth < 999){ 51 if (e.keyCode == 9) { 52 if(window.audio_podcast_responsiveMenu){ 53 if (!e.shiftKey) { 54 if(audio_podcast_gotoHome) { 55 jQuery( ".main-menu ul:first li:first a:first-child" ).focus(); 56 } 57 } 58 if (jQuery("a.closebtn.mobile-menu").is(":focus")) { 59 audio_podcast_gotoHome = true; 60 } else { 61 audio_podcast_gotoHome = false; 62 } 63 64 }else{ 65 66 if(window.audio_podcast_currentfocus=="responsivetoggle"){ 67 jQuery( "" ).focus(); 68 }}} 69 } 70 if (e.shiftKey && e.keyCode == 9) { 71 if(window.innerWidth < 999){ 72 if(window.audio_podcast_currentfocus=="header-search"){ 73 jQuery(".responsivetoggle").focus(); 74 }else{ 75 if(window.audio_podcast_responsiveMenu){ 76 if(audio_podcast_gotoClose){ 77 jQuery("a.closebtn.mobile-menu").focus(); 78 } 79 if (jQuery( ".main-menu ul:first li:first a:first-child" ).is(":focus")) { 80 audio_podcast_gotoClose = true; 81 } else { 82 audio_podcast_gotoClose = false; 83 } 84 85 }else{ 86 87 if(window.audio_podcast_responsiveMenu){ 88 }}}} 89 } 90 audio_podcast_checkfocusdElement(); 91 } 92}); 93 94jQuery('document').ready(function($){ 95 setTimeout(function () { 96 jQuery("#preloader").fadeOut("slow"); 97 },1000); 98}); 99 100jQuery(document).ready(function () { 101 jQuery(window).scroll(function () { 102 if (jQuery(this).scrollTop() > 100) { 103 jQuery('.scrollup i').fadeIn(); 104 } else { 105 jQuery('.scrollup i').fadeOut(); 106 } 107 }); 108 jQuery('.scrollup i').click(function () { 109 jQuery("html, body").animate({ 110 scrollTop: 0 111 }, 600); 112 return false; 113 }); 114}); 115 116function audio_podcast_leftmenu_open_nav() { 117 window.audio_podcast_responsiveMenu=true; 118 jQuery(".left-menu").addClass('show'); 119} 120function audio_podcast_leftmenu_close_nav() { 121 window.audio_podcast_responsiveMenu=false; 122 jQuery(".left-menu").removeClass('show'); 123} 124 125jQuery(document).ready(function () { 126 window.audio_podcast_currentfocus=null; 127 audio_podcast_checkfocusdElement(); 128 var audio_podcast_body = document.querySelector('body'); 129 audio_podcast_body.addEventListener('keyup', audio_podcast_check_tab_press); 130 var audio_podcast_gotoHome = false; 131 var audio_podcast_gotoClose = false; 132 window.audio_podcast_responsiveMenu=false; 133 function audio_podcast_checkfocusdElement(){ 134 if(window.audio_podcast_currentfocus=document.activeElement.className){ 135 window.audio_podcast_currentfocus=document.activeElement.className; 136 } 137 } 138 function audio_podcast_check_tab_press(e) { 139 "use strict"; 140 // pick passed event or global event object if passed one is empty 141 e = e || event; 142 var activeElement; 143 144 if(window.innerWidth < 999){ 145 if (e.keyCode == 9) { 146 if(window.audio_podcast_responsiveMenu){ 147 if (!e.shiftKey) { 148 if(audio_podcast_gotoHome) { 149 jQuery( ".left-menu ul:first li:first a:first-child" ).focus(); 150 } 151 } 152 if (jQuery("a.closebtn.mobile-leftmenu").is(":focus")) { 153 audio_podcast_gotoHome = true; 154 } else { 155 audio_podcast_gotoHome = false; 156 } 157 158 }else{ 159 160 if(window.audio_podcast_currentfocus=="responsive-lefttoggle"){ 161 jQuery( "" ).focus(); 162 }}} 163 } 164 if (e.shiftKey && e.keyCode == 9) { 165 if(window.innerWidth < 999){ 166 if(window.audio_podcast_currentfocus=="header-search"){ 167 jQuery(".responsive-lefttoggle").focus(); 168 }else{ 169 if(window.audio_podcast_responsiveMenu){ 170 if(audio_podcast_gotoClose){ 171 jQuery("a.closebtn.mobile-leftmenu").focus(); 172 } 173 if (jQuery( ".left-menu ul:first li:first a:first-child" ).is(":focus")) { 174 audio_podcast_gotoClose = true; 175 } else { 176 audio_podcast_gotoClose = false; 177 } 178 179 }else{ 180 181 if(window.audio_podcast_responsiveMenu){ 182 }}}} 183 } 184 audio_podcast_checkfocusdElement(); 185 } 186});
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.