1/** Jarallax Animation call **/ 2jarallax(document.querySelectorAll('.jarallax')); 3 4// $(document).ready(function(){ 5// setTimeout(function(){$(".homebanner_inner, .banner_caption").css("visibility", "visible")}.bind(this),0); 6// }) 7 8// window.onload = function(){ 9// setInterval(function(){ 10// // $(".homebanner_inner, .banner_caption").css("visibility", "visible"); 11 12// $("#jarallax-container-0 img").css("visibility", "visible"); 13// }.bind(this),100); 14// }; 15 16 17/** Go to Top js **/ 18$('.gototop a').on('click', function(event) { 19 event.preventDefault(); 20 $('html, body').animate({scrollTop: 0}, 1500); 21 return false; 22}) 23 24 25$('.mobile_menu_popup').css('top', $('.mobile_logo').height()); 26$('.mbl_menu_hold').css('height', `calc(100vh - ${$('header').height()}px)`); 27// $('.mobile_menu_popup').css('height', `calc(100vh - ${$('header').height()}px)`); 28 29if( $( window ).width() <= 1023 ){ 30 $('.mbl_nav_click_js').click(function(){ 31 $(this).toggleClass('open'); 32 }) 33 $('.mobile_toggle .mbl_nav_click_js').on("click", function(){ 34 $('body').toggleClass('overflow_hidden'); 35 $('.mobile_menu_popup').toggleClass('mbl_menu_open'); 36 $('i.mbl_menu_expend_icon.mlb_expend_anim').click(); 37 }) 38 39 $('.item_sub_menu').on("click",function(){ 40 $(this).find('i').toggleClass('mlb_expend_anim'); 41 $(this).find('ul').slideToggle(); 42 43 $(this).siblings('li').find('ul').slideUp(); 44 $(this).siblings('li').find('i').removeClass('mlb_expend_anim'); 45 }) 46} 47 48if( $( window ).width() >= 768 ){ 49 //alert(); 50 $('.main_body').css("margin-bottom", $('footer').height()+15); 51} 52 53$( window ).on('load', function(){ 54 $(".line_link").addClass('active'); 55}) 56 57 58/***************** Right sidebar form popup ********************/ 59 60$('.popup_form_open_js').on("click", function(){ 61 var getFormtype = $(this).attr('data-formtype'); 62 var getFormtext = $(this).attr('data-popuptext'); 63 fomrProfilePopup(getFormtype, getFormtext); 64}) 65 66$('.popup_form_close_js').on("click",function(){ 67 formPopupClose(); 68}) 69 70function fomrProfilePopup(getFormtype, getFormtext){ 71 $("#popup_heading_text").text(getFormtext); 72 $(".popup_form_area > div#"+getFormtype+"").addClass('active'); 73 $('.popup_form_bg_layer').addClass('active'); 74 $('.popup_body_hold_form').addClass('active'); 75 $('html').addClass('overflow_hidden'); 76 $('body').addClass('overflow_hidden'); 77 78 setTimeout(function(){ 79 $('.popup_form_bg_layer').addClass('closecursor'); 80 }, 500); 81} 82 83function formPopupClose(){ 84 $('.popup_form_bg_layer').addClass('deactive'); 85 $('.popup_body_hold_form').addClass('deactive'); 86 $('.popup_form_bg_layer').removeClass('closecursor'); 87 $('html').removeClass('overflow_hidden'); 88 $('body').removeClass('overflow_hidden'); 89 90 setTimeout(function() { 91 $('.popup_form_bg_layer').removeClass('active deactive'); 92 $('.popup_body_hold_form').removeClass('active deactive'); 93 $('.popup_form_all').removeClass('active'); 94 }, 700); 95} 96 97 98/************************/ 99 100 $('.open_search_bar_js, .search_bg_layer').on("click", function(){ 101 102 $('.global_search').toggleClass('active'); 103 $('.search_bg_layer').toggleClass('active'); 104 $('body').toggleClass('overflow_hidden'); 105 106 }) 107 108/***************************/ 109 110
111if(sessionStorage.getItem('firstVisit') !=1) 112{ 113 $('.notification_alert').addClass('show_notice_alert'); 114 115} 116 117$('.close_notification').click(function(){ 118 sessionStorage.setItem('firstVisit', 1); 119 $('.notification_alert').removeClass('show_notice_alert'); 120}); 121 122 123// $(".svg_tags_item").click(function() { 124// $('html, body').animate({ 125// scrollTop: $("#filter_section").offset().top 126// }, 2000); 127// }); 128 129 130$(".aboutus_banner").mouseenter(function(){ 131 $(".cursor-dot").css("visibility","hidden"); 132}); 133$(".aboutus_banner").mouseleave(function(){ 134 $(".cursor-dot").css("visibility","visible"); 135}); 136 137 138 139if( $( window ).width() <= 768 ){ 140 var headheight = $('header').outerHeight(); 141 $(".homemain_banner_wrp").css("margin-top", headheight); 142} 143 144if( $( window ).width() <= 768 ){ 145 var headheight = $('header').outerHeight(); 146 $(".main_banner_wrp").css("margin-top", headheight - 50); 147} 148 149// if( $( window ).width() <= 600 ){ 150// var hdhght = $('header').outerHeight(); 151// var realheight = parseInt(100) - parseInt(hdhght); 152 153// percent = ( parseInt(hdhght) / parseInt(100)) * 100; 154// console.log("percent",percent); 155// $(".npf_chatbots").css("height", percent + "%"); 156// } 157 158 159 160
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.