PageSourceSearch

https://sttemple.com/wp-content/themes/astra/customJs.js?ver=7.1.2

js sttemple.com collected 2026-10-02 11:48:36 UTC 5,304 bytes, 200 lines download raw bytes

1jQuery(window).scroll(function() {
2if (jQuery(this).scrollTop() > 0){  
3    jQuery('header').addClass("sticky");
4  }
5  else{
6    jQuery('header').removeClass("sticky");
7  }
8});
9
10
11jQuery(document).ready(function() {
12  jQuery(document).on('click', '.homepage-event-slider #mep_add_calender_button.mep-add-calender', function () {
13  	jQuery(' + ul',this).toggle()
14  });
15});
16
17
18jQuery(function(){
19
20	var key = 0;
21	jQuery(document).on('click', '.readmore-link a[role="button"]', function(){
22		var el = jQuery(this).closest('.extended-module').find('.text-to-be-expanded');
23		if(key == 0){
24			key = 1;
25			el.css({
26				'overflow-y':'auto',
27				'padding-right': '5px'
28			});
29			el.animate({
30				scrollTop: 100
31			}, 800);
32			jQuery(this).text('Read Less');
33		}
34		else{
35			key = 0;
36			el.css({
37				'overflow-y':'hidden',
38				'padding-right': '0px'
39			});
40			el.scrollTop(0);
41			jQuery(this).text('Read More');
42		}
43	});
44	jQuery(document).on('touchstart', '#video-overlay .elementor-custom-embed-image-overlay::before', function(){
45		jQuery(this).css({
46			'transform': 'scaleY(0)'
47		})
48	});
49	jQuery(document).on('touchstart', '#video-overlay .elementor-custom-embed-image-overlay::after', function(){
50		jQuery(this).css({
51			'display': 'none'
52		})
53	});
54	jQuery(document).on('touchend', '#video-overlay .elementor-custom-embed-image-overlay::before', function(){
55		jQuery(this).css({
56			'transform': 'scaleY(1)'
57		})
58	});
59	jQuery(document).on('touchend', '#video-overlay .elementor-custom-embed-image-overlay::after', function(){
60		jQuery(this).css({
61			'display': 'block'
62		})
63	});
64});
65//Mobile country code show hide
66jQuery(document).ready(function() {
67	var current_url = window.location.href;
68	var split = current_url.split('#');
69	if(split.length > 1){
70		//console.log(split[1]);
71		if(split[1] == 'event-bookingbox-open'){
72			jQuery('#event-bookingbox').slideDown();
73    		jQuery('.related-event-container').toggle();
74		}
75	}
76    jQuery(document).on('click','a[href="#event-bookingbox"]',function(){
77    	jQuery('#event-bookingbox').slideDown();
78    	jQuery('.related-event-container').toggle();
79    	ticketForm();
80    });
81     jQuery("#email_or_mobile").keyup(function(){
82        var inputVal = jQuery("#email_or_mobile").val();
83        if(jQuery.isNumeric(inputVal))
84        {
85        	jQuery('#CountryCode').show();
86						 }
87						 else if(inputVal==""){
88						 	
89						 	jQuery('#CountryCode').hide();
90						 }
91        else{
92        	jQuery('#CountryCode').hide();
93        }
94    });
95
96 });
97
98//offering modal
99// Get the modal
100var modal = document.getElementById("offering-modal");
101
102// Get the button that opens the modal
103var btn = jQuery(".offering-modalpopup");
104
105// Get the <span> element that closes the modal
106var span = document.getElementsByClassName("close")[0];
107// When the user clicks on <span> (x), close the modal
108if(span)
109{
110	span.onclick = function() {
111  modal.style.display = "none";
112}
113}
114
115
116// When the user clicks anywhere outside of the modal, close it
117window.onclick = function(event) {
118  if (event.target == modal) {
119    modal.style.display = "none";
120  }
121} 	
122jQuery(function () {
123	jQuery('.my-custom-tab_slsvt_options').hide();
124	jQuery('.my-custom-tab_svt_options').hide();
125	if(jQuery('#in-product_cat-239').is(':checked')){
126	jQuery('.my-custom-tab_svt_options').hide();
127	jQuery('.my-custom-tab_slsvt_options').show();
128
129	}
130	else if(jQuery('#in-product_cat-238').is(':checked'))
131	{
132	jQuery('.my-custom-tab_slsvt_options').hide();
133	jQuery('.my-custom-tab_svt_options').show();
134
135	}
136	jQuery('#in-product_cat-238').click(function(){
137	jQuery('.my-custom-tab_svt_options').toggle();
138	});
139	jQuery('#in-product_cat-239').click(function(){
140	jQuery('.my-custom-tab_slsvt_options').toggle();
141	});
142	//Work On Production
143	if(jQuery('#in-product_cat-232').is(':checked')){
144	jQuery('.my-custom-tab_svt_options').hide();
145	jQuery('.my-custom-tab_slsvt_options').show();
146
147	}
148	else if(jQuery('#in-product_cat-233').is(':checked'))
149	{
150	jQuery('.my-custom-tab_slsvt_options').hide();
151	jQuery('.my-custom-tab_svt_options').show();
152	}
153	jQuery('#in-product_cat-233').click(function(){
154		jQuery('.my-custom-tab_svt_options').toggle();
155	});
156	jQuery('#in-product_cat-232').click(function(){
157		jQuery('.my-custom-tab_slsvt_options').toggle();
158	});
159
160});
161jQuery(document).ready(function(){
162if (jQuery("#myNumber").val()=='0') {
163	jQuery("#down").attr("disabled",'disabled');
164}if (jQuery("#myNumber1").val()=='0') {
165	jQuery("#down1").attr("disabled",'disabled');
166}
167}
167)
168jQuery( function() {
169    jQuery( "#multidatePicker" ).multiDatesPicker({
170    	 dateFormat: 'mm/dd/yy',
171    	 minDate: 0,
172    });  
173
174  } );
175jQuery(function() {
176
177  jQuery('#reportDate').datepicker({
178    dateFormat: 'dd M yy',
179    onSelect: function(dateText, inst) {
180    	jQuery("#loader_report").html('Data Loading...');
181     jQuery.ajax({
182	   		 type : "post",
183             dataType: 'text',
184             url :"admin-ajax.php",
185             data : {action: "getAllReportData", select_date : dateText },
186	    success: function(data){
187	    	 setTimeout(function(){
188              jQuery("#loader_report").html('');
189          }, 1000);
190	    	csvData = 'data:application/csv;charset=utf-8,' + encodeURIComponent(data);
191        jQuery("#exportsags").attr({
192            "href": csvData,
193            "download": "product_report.csv"
194        });
195	    }
196});
197    }
198  });
199
200});

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.