PageSourceSearch

https://www.fancyco.com/admin/language/language.js

js fancyco.com collected 2026-10-07 00:47:52 UTC 4,624 bytes, 239 lines download raw bytes

1// JavaScript Document
2
3	$(document).ready(function(){
4
5
6
7		$('.prisna-wp-translate-seo').contents().filter(function() {
8
9
10
11		return this.nodeType === 3;
12
13
14
15		}).remove();
16
17
18
19		$('.change-language .change-language-cont').append("<div class='change-empty'>Untranslated</div>")
20
21
22
23		$('.prisna-wp-translate-seo').append("<div class='lang-more'>More Language</div>")
24
25		if($('body .prisna-wp-translate-seo').length>0 && $('.change-language .prisna-wp-translate-seo').length<1){
26
27
28
29			$('.prisna-wp-translate-seo').appendTo('.change-language-cont')
30
31
32
33			if($('.change-language .change-language-cont .prisna-wp-translate-seo li').length>0){
34
35
36
37				$('.change-language .change-language-cont .change-empty').hide()
38
39
40
41				$('.change-language .change-language-cont .prisna-wp-translate-seo li').each(function(index){
42
43
44
45					if(index>14 ){
46
47
48
49						$(this).addClass('lang-item lang-item-hide')
50
51
52
53						$('.change-language-cont').find('.lang-more').show()
54
55
56
57						}else{
58
59							$('.change-language-cont').find('.lang-more').hide()
60
61							}
62
63					})
64
65					if($('.change-language-cont .lang-more').length>0){
66
67
68
69						$('.change-language-cont .lang-more').click(function(){
70
71
72
73							if($(this).parents('.change-language-cont').find('.prisna-wp-translate-seo li.lang-item').hasClass('lang-item-hide')){
74
75
76
77								$(this).parents('.change-language-cont').find('.prisna-wp-translate-seo li.lang-item').removeClass('lang-item-hide')
78
79
80
81								$(this).text('×')
82
83								}else{
84
85									$(this).parents('.change-language-cont').find('.prisna-wp-translate-seo li.lang-item').addClass('lang-item-hide')
86
87
88
89									$(this).text('More Language')
90
91
92
93									}
94
95							})
96
97						}
98
99				}else{
100
101					$('.change-language .change-language-cont .change-empty').fadeIn()
102
103					}
104
105			}
106
107			var mouseover_tid = [];
108
109
110
111var mouseout_tid = [];
112
113
114
115	$('.change-language').each(function(index){
116
117			$(this).hover( 
118
119				function(){
120
121					var _self = this;
122
123					clearTimeout(mouseout_tid[index]);
124
125
126					mouseover_tid[index] = setTimeout(function() {
127
128
129						$(_self).find('.sub-content').slideDown();
130
131
132
133						$('.change-language-info .change-language-title').addClass('title-show').removeClass('title-hide');
134
135
136					}, 150);
137
138				},
139
140
141	 			function(){
142					var _self = this;
143
144					clearTimeout(mouseover_tid[index]);
145
146					mouseout_tid[index] = setTimeout(function() {
147
148
149						$(_self).find('.sub-content').slideUp();
150
151
152
153						$('.change-language-info .change-language-title').addClass('title-hide').removeClass('title-show');
154
155
156				  }, 50);
157
158				}
159
160			);
161
162
163		})
164
165		})
166
167
168
169
170
171
172
173$(function(){
174
175$('body .inquiry-form-wrap.ct-inquiry-form').append('<div class="ad_prompt">Write your message here and send it to us</div>')
176
177	if($('body .inquiry-form-wrap.ct-inquiry-form').length>0 && $('.scrollsidebar#scrollsidebar .side_list .email').length>0){
178
179
180
181		var webTop=$('body .inquiry-form-wrap.ct-inquiry-form').offset().top-50
182
183		$('.scrollsidebar#scrollsidebar .side_list .email').after('<a class="ad_email" href="javascript:">'+ $('.scrollsidebar#scrollsidebar .side_list .email').text()+'</a>')
184
185		$('.scrollsidebar#scrollsidebar .side_list .email').css('display','none')
186
187		$('.scrollsidebar#scrollsidebar .side_list .ad_email').click(function(){
188
189			 $("html, body").animate({ scrollTop:webTop }, 1000);
190
191			 $(".ad_prompt").show().delay(3000).hide(300);
192
193			})
194
195
196		}
197
198
199	})
200
201$(function(){
202
203	if($('body .inquiry-form-wrap.ct-inquiry-form').length>0 && $('.email.inquiryfoot').length>0){
204
205		var webTop=$('body .inquiry-form-wrap.ct-inquiry-form').offset().top-50
206
207		$('.email.inquiryfoot').before('<a class="email inquiryfoot ad_inquiryfoot" href="javascript:">'+ $('.email.inquiryfoot').text()+'</a>')
208
209		$('.email.inquiryfoot.ad_inquiryfoot').click(function(){
210
211
212			 $("html, body").animate({ scrollTop:webTop }, 1000);
213
214			 $(".ad_prompt").show().delay(3000).hide(300);
215
216			})
217
218		}
219
220	})
221$(function(){
222
223	if($('body .inquiry-form-wrap.ct-inquiry-form').length>0 && $('.product-btn-wrap .email').length>0){
224
225		var webTop=$('body .inquiry-form-wrap.ct-inquiry-form').offset().top-50
226
227		$('.product-btn-wrap .email').before('<a class="email page_pd_email" href="javascript:">'+ $('.product-btn-wrap .email').text()+'</a>')
228
229		$('.product-btn-wrap .email.page_pd_email').click(function(){
230
231			 $("html, body").animate({ scrollTop:webTop }, 1000);
232
233			 $(".ad_prompt").show().delay(3000).hide(300);
234
235			})
236
237		}
238
239	})

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.