1function dropDown(){ 2 var drpDwn = $("div.services-link span.service-link_btn"), 3 drpDwnMenu = $(".services_drop_list"); 4 if (window.innerWidth <= 1091) { 5 drpDwn.click(function (e) { 6 // e.preventDefault(); 7 if (drpDwn.hasClass("opened")) { 8 drpDwnMenu.removeClass("drpdwn"); 9 drpDwn.removeClass("opened"); 10 $('.services_drop_list_first').removeClass('opened'); 11 $('.hh .services_drop_list_itemlist').removeClass('drpdwn'); 12 $('.rp .services_drop_list_itemlist').removeClass('drpdwn'); 13 $('.ewh .services_drop_list_itemlist').removeClass('drpdwn'); 14 $('.other .services_drop_list_itemlist').removeClass('drpdwn'); 15 } else { 16 drpDwn.addClass("opened"); 17 drpDwnMenu.addClass("drpdwn"); 18 19 } 20 }); 21 } 22 else{ 23 $('.services-link').hover(function () { 24 $('.services_drop_list').removeClass('hidden-list') 25 $('.services_drop_list').addClass('show-list') 26 }, function () { 27 $('.services_drop_list').removeClass('show-list') 28 $('.services_drop_list').addClass('hidden-list') 29 }) 30 31 32 $(window).scroll(function() { 33 $('.services_drop_list').removeClass('show-list') 34 $('.services_drop_list').addClass('hidden-list') 35 }); 36 } 37}; 38dropDown(); 39 40function dropDownNext(){ 41 var drpDwnNext = $("li.services_drop_list_first"); 42 // console.log(drpDwnNext); 43 drpDwnNext.each(function () { 44 $(this).click(function (e) { 45 // e.preventDefault(); 46 if (window.innerWidth <= 1091) { 47 if ($(this).hasClass("opened")) { 48 $(this).find('div').removeClass("drpdwn"); 49 $(this).removeClass("opened"); 50 } else { 51 $(this).addClass("opened"); 52 $(this).find('div').addClass("drpdwn"); 53 $(this).siblings().removeClass("opened"); 54 $(this).siblings().find('div').removeClass("drpdwn"); 55 } 56 }else{ 57 return; 58 } 59 }); 60 }); 61}; 62dropDownNext();
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.