1 2 3 4if (bsCrsl) { 5 6 7} else { 8 9 /*$('.single_slider').slick({ 10 infinite: true, 11 slidesToShow:1, 12 slidesToScroll:1, 13 dots:true, 14 autoplay:false, 15 autoplaySpeed:4000, 16 prevNext: true, 17 arrows: true, 18 nav:true 19 }); 20 */ 21} 22 23 24 /****===== Date picker=====***/ 25 26 /* $( function() { 27 $( "#datepicker" ).datepicker(); 28 } ); 29 30 $( function() { 31 $( "#datepickerone" ).datepicker(); 32 } ); 33 34 $( function() { 35 $( "#datepickertwo" ).datepicker(); 36 } ); */ 37 38/* 39 $(function(){ 40 // building select menu 41 $('<select />').appendTo('nav'); 42 43 // building an option for select menu 44 $('<option />', { 45 'selected': 'selected', 46 'value' : '', 47 'text': 'Choise Page...' 48 }).appendTo('nav select'); 49 50 $('nav ul li a').each(function(){ 51 var target = $(this); 52 53 $('<option />', { 54 'value' : target.attr('href'), 55 'text': target.text() 56 }).appendTo('nav select'); 57 58 }); 59 60 // on clicking on link 61 $('nav select').on('change',function(){ 62 window.location = $(this).find('option:selected').val(); 63 }); 64}); 65*/ 66// show and hide sub menu 67 68 69$(document).keyup(function(e) { 70 if (e.keyCode == 27) { // escape key maps to keycode `27` 71 72 73 if(document.getElementById('submenu1').style.display!='none'){ 74 document.getElementById('submenu1').style.display='none'; 75 document.getElementById('submenu1title').setAttribute('aria-expanded', false); 76 document.getElementById('submenu1title').focus(); 77 } 78 79 } 80}); 81 82/*** 83$(function(){ 84 $('nav.desktop_navigation ul li').click( 85 86 function () { 87 //show its submenu 88 //alert($(this).attr('id') + ' ' + $('ul',this).attr('id') + ' ' + $('ul', this).css('display')); 89 var menuname = $('ul',this).attr('id') + 'title'; 90 if($('ul', this).css('display') == 'none'){ 91 document.getElementById(menuname).setAttribute('aria-expanded', true); 92 } else { 93 document.getElementById(menuname).setAttribute('aria-expanded', false); 94 } 95 $('ul', this).slideToggle(150); 96 97 } 98 ); 99}); 100***/ 101 102//Responsive menu 103 104 /*$('.responsive_nav').click(function(){ 105 $('.main_navigation').slideToggle(); 106 }); */ 107 $('.main_navigation ul ul').each(function() { 108 if($(this).children().length){ 109 $(this,'li:first').parent().append('<span class="mean-expand"></span>'); 110 } 111 }); 112/* $('.main_navigation ul li').on("click",function(e){ 113 $(this).find('ul').slideToggle(300, function(){}); 114 $(this).find('.mean-expand').toggleClass("mean-clicked"); 115 }); */
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.