PageSourceSearch

https://www.oscre.org/Portals/18-System/Skins/CV-Standard-029/scripts/custom.js

js oscre.org collected 2026-10-02 05:54:06 UTC 11,973 bytes, 360 lines download raw bytes

1 //For Menu Lavalamp:
2jQuery(document).ready(function($) {
3	$(".header_element > .icon").click(function() {
4		var e=$(this);
5			if(!e.parent().hasClass("Open")){
6			e.parent().addClass("Open").siblings(".header_element").removeClass("Open");
7		} 
8		else{
9			e.parent().removeClass("Open");
10		}
11	})
12})
13
14jQuery(document).ready(function($) {
15	$(".header_element > div > .icon").click(function() {
16		var e=$(this);
17			if(!e.parent().hasClass("Open")){
18			e.parent().addClass("Open").siblings("div").removeClass("Open");
19		} 
20		else{
21			e.parent().removeClass("Open");
22		}
23	})
24})
25
26jQuery(document).ready(function($) {
27	$("#mobile_search").on("click",function() {
28			$("#search2").fadeToggle();
29			$("#search2").find(".NormalTextBox").focus();
30			$(this).toggleClass("active");
31	})
32})
33//Top:
34jQuery(document).ready(function($) {
35	jQuery('#to_top').click(function() {
36		jQuery('body,html').animate({
37			scrollTop: 0
38		},
39		800);
40	});
41	
42	var backtop=function(){
43	Math.max.call(window.scrollTop, document.body.scrollTop, document.documentElement.scrollTop)>245?jQuery('#to_top').fadeIn(300):jQuery('#to_top').fadeOut(300)
44	}
45	$(window).load(function(){
46		backtop();
47	})
48	$(window).scroll(function(){
49		backtop();
50	})
51	
52});
53jQuery(document).ready(function($) {
54	animatedcollapse.addDiv('search', 'fade=1,speed=200,group=mobile,hide=1');
55	animatedcollapse.init()
56});
57
58
59jQuery(document).ready(function($) {
60    $(".full_screen_pic").each(function() {
61        var full = $(this).find("li");
62        full.height($(window).height());
63        $(window).resize(function() {
64            full.height($(window).height())
65        })
66    });
67    $("#nextPage").click(function() {
68            jQuery('body,html').animate({
69                scrollTop:$(window).height()+$(".full_screen_pic").offset().top
70            }, 500);
71        })
72        //	runs();
73})
74
75//chart 
76$(window).load(function() {
77	"use strict";
78	var e_1 = $(".percentage");
79	e_1.easyPieChart({
80		animate: 2000,
81		barColor: e_1.css('color'),
82		trackColor: "#ffffff",
83		size: 140,
84		lineWidth:4,
85		lineCap: 'round',
86		scaleColor: false,
87		onStep: function(from, to, percent) {
88			$(this.el).find('.percentage_inner span').text(Math.round(percent));
89		}
90	});
91	
92	var e_2 = $(".percentage2");
93	e_2.easyPieChart({
94		animate: 2000,
95		barColor: e_2.css('color'),
96		trackColor: "#e7e7e7",
97		size: 140,
98		lineWidth: 11,
99		scaleColor: false,
100		onStep: function(from, to, percent) {
101			$(this.el).find('.percentage_inner span').text(Math.round(percent));
102		}
103	})
104	
105	var e_3 = $(".percentage1");
106	e_3.easyPieChart({
107		animate: 2000,
108		barColor: e_3.css('color'),
109		trackColor: "#eeeeee",
110		size: 150,		
111		lineWidth: 11,
112		lineCap: 'square',
113		scaleColor: false,
114		onStep: function(from, to, percent) {
115			$(this.el).find('.percentage_inner span').text(Math.round(percent));
116		}
117	});
118
119	var e_4 = $(".percentage1_team2");
120	e_4.each(function() {
121		$(this).easyPieChart({
122			animate: 2000,
123			barColor: $(this).css('color'),
124			trackColor: "#ffffff",
125			size: 146,
126			lineWidth: 6,
127			scaleColor: false,
128			lineCap: 'square',
129			onStep: function(from, to, percent) {
130				$(this.el).find('.percentage_inner span').text(Math.round(percent));
131			}
132		})    
133	});
134
135 
136
137});
138
139
140//source_code 
141jQuery(document).ready(function($) {
142    var $source=$(".source_code");
143     $source.find("a").click(function(){
144           $(this).siblings("pre").css("display")=="none" ? $(this).siblings("pre").slideDown(200):$(this).siblings("pre").slideUp(200);
145           $(this).siblings(".source_box").css("display")=="none" ? $(this).siblings(".source_box").slideDown(200):$(this).siblings(".source_box").slideUp(200);
146           return false;
147    })
148})
149//animationShow.js
150jQuery(document).ready(function($) {
151	animationShow(".searchbut","#search");
152})
153
154
155//Carousel.js
156$(document).ready(function() {
157	$(".carousel_1").each(function() {
158  		$(this).owlCarousel({
159		items :	$(this).attr("data-items")	   	? $(this).data("items")		  :3,
160		   navigation : $(this).attr("data-navigation") ? $(this).data("navigation")  :true,
161		   pagination : $(this).attr("data-pagination") ? $(this).data("pagination")  :true,
162			 autoPlay : $(this).attr("data-autoplay")   ? $(this).data("autoplay")    :true,
163		   autoHeight : $(this).attr("data-autoheight") ? $(this).data("autoheight")  :true
164		});
165	})
166	$(".carousel_2").each(function() {
167		$(this).owlCarousel({
168		items :	$(this).attr("data-items")	   	? $(this).data("items")		  :4,
169		   navigation : $(this).attr("data-navigation") ? $(this).data("navigation")  :true,
170		   pagination : $(this).attr("data-pagination") ? $(this).data("pagination")  :true,
171			 autoPlay : $(this).attr("data-autoplay")   ? $(this).data("autoplay")    :true,
172		   autoHeight : $(this).attr("data-autoheight") ? $(this).data("autoheight")  :true
173		});
174	})
175	$(".carousel_3").each(function() {
176		$(this).owlCarousel({
177		   singleItem : true,
178		   navigation : $(this).attr("data-navigation") ? $(this).data("navigation")  :true,
179		   pagination : $(this).attr("data-pagination") ? $(this).data("pagination")  :true,
180			 autoPlay : $(this).attr("data-autoplay")   ? $(this).data("autoplay")    :true,
181		   autoHeight : $(this).attr("data-autoheight") ? $(this).data("autoheight")  :false
182		});
183	})
184	$(".carousel_4").each(function() {
185		$(this).owlCarousel({
186		items :	$(this).attr("data-items")	   	? $(this).data("items")		  :5,
187		   navigation : $(this).attr("data-navigation") ? $(this).data("navigation")  :true,
188		   pagination : $(this).attr("data-pagination") ? $(this).data("pagination")  :true,
189			 autoPlay : $(this).attr("data-autoplay")   ? $(this).data("autoplay")    :true,
190		   autoHeight : $(this).attr("data-autoheight") ? $(this).data("autoheight")  :true
191		});
192	})
193	$(".carousel_5").each(function() {
194		$(this).owlCarousel({
195		items :	$(this).attr("data-items")	   	? $(this).data("items")		  :4,
196		   navigation : $(this).attr("data-navigation") ? $(this).data("navigation")  :true,
197		   pagination : $(this).attr("data-pagination") ? $(this).data("pagination")  :true,
198			 autoPlay : $(this).attr("data-autoplay")   ? $(this).data("autoplay")    :true,
199		   autoHeight : $(this).attr("data-autoheight") ? $(this).data("autoheight")  :true
200		});
201	})
202	$(".carousel_6").each(function() {
203		$(this).owlCarousel({
204		items :	$(this).attr("data-items")	   	? $(this).data("items")		  :3,
205		   navigation : $(this).attr("data-navigation") ? $(this).data("navigation")  :true,
206		   pagination : $(this).attr("data-pagination") ? $(this).data("pagination")  :true,
207			 autoPlay : $(this).attr("data-autoplay")   ? $(this).data("autoplay")    :true,
208		   autoHeight : $(this).attr("data-autoheight") ? $(this).data("autoheight")  :true
209		});
210	})
211	$(".carousel_7").each(function() {
212		$(this).owlCarousel({
213		items :	$(this).attr("data-items")	   	? $(this).data("items")		  :4,
214		   navigation : $(this).attr("data-navigation") ? $(this).data("navigation")  :true,
215		   pagination : $(this).attr("data-pagination") ? $(this).data("pagination")  :true,
216			 autoPlay : $(this).attr("data-autoplay")   ? $(this).data("autoplay")    :true,
217		   autoHeight : $(this).attr("data-autoheight") ? $(this).data("autoheight")  :true
218		});
219	})
220	$(".carousel_8").each(function() {
221		$(this).owlCarousel({
222		items :	$(this).attr("data-items")	   	? $(this).data("items")		  :5,
223		   navigation : $(this).attr("data-navigation") ? $(this).data("navigation")  :true,
224		   pagination : $(this).attr("data-pagination") ? $(this).data("pagination")  :true,
225			 autoPlay : $(this).attr("data-autoplay")   ? $(this).data("autoplay")    :true,
226		   autoHeight : $(this).attr("data-autoheight") ? $(this).data("autoheight")  :true
227		});
228	})
229	$(".carousel_aboutus2").each(function() {
230		$(this).owlCarousel({
231		items :	$(this).attr("data-items")	   	? $(this).data("items")		  :4,
232		   navigation : $(this).attr("data-navigation") ? $(this).data("navigation")  :true,
233		   pagination : $(this).attr("data-pagination") ? $(this).data("pagination")  :true,
234			 autoPlay : $(this).attr("data-autoplay")   ? $(this).data("autoplay")    :true,
235		   autoHeight : $(this).attr("data-autoheight") ? $(this).data("autoheight")  :true
236		});
237	})
238	$(".carousel_aboutus2_02").each(function() {
239		$(this).owlCarousel({
240		items :	$(this).attr("data-items")	   	? $(this).data("items")		  :3,
241		   navigation : $(this).attr("data-navigation") ? $(this).data("navigation")  :true,
242		   pagination : $(this).attr("data-pagination") ? $(this).data("pagination")  :false,
243			 autoPlay : $(this).attr("data-autoplay")   ? $(this).data("autoplay")    :true,
244		   autoHeight : $(this).attr("data-autoheight") ? $(this).data("autoheight")  :true,
245	      itemsDesktop: [1199, 2],
246	 itemsDesktopSmall: [979, 3],
247		   itemsTablet: [768, 3],
248		});
249	})
250	$(".carousel_ourteam").each(function() {
251		$(this).owlCarousel({
252		items :	$(this).attr("data-items")	   	? $(this).data("items")		  :4,
253		   navigation : $(this).attr("data-navigation") ? $(this).data("navigation")  :true,
254		   pagination : $(this).attr("data-pagination") ? $(this).data("pagination")  :true,
255			 autoPlay : $(this).attr("data-autoplay")   ? $(this).data("autoplay")    :true,
256		   autoHeight : $(this).attr("data-autoheight") ? $(this).data("autoheight")  :true
257		});
258	})
259	$(".carousel_detai02").each(function() {
260		$(this).owlCarousel({
261		items :	$(this).attr("data-items")	   	? $(this).data("items")		  :3,
262		   navigation : $(this).attr("data-navigation") ? $(this).data("navigation")  :true,
263		   pagination : $(this).attr("data-pagination") ? $(this).data("pagination")  :true,
264			 autoPlay : $(this).attr("data-autoplay")   ? $(this).data("autoplay")    :true,
265		   autoHeight : $(this).attr("data-autoheight") ? $(this).data("autoheight")  :true,
266	      itemsDesktop: [1199, 2],
267	 itemsDesktopSmall: [979, 2],
268		   itemsTablet: [768, 1],
269		});
270	})
271	$(".carousel_detail").each(function() {
272		$(this).owlCarousel({
273		items :	$(this).attr("data-items")	   	? $(this).data("items")		  :4,
274		   navigation : $(this).attr("data-navigation") ? $(this).data("navigation")  :true,
275		   pagination : $(this).attr("data-pagination") ? $(this).data("pagination")  :true,
276			 autoPlay : $(this).attr("data-autoplay")   ? $(this).data("autoplay")    :true,
277		   autoHeight : $(this).attr("data-autoheight") ? $(this).data("autoheight")  :true
278		});
279	})
280	
281});
282
283jQuery(document).ready(function($) {		
284	$(".HeadPane_mobile").html($(".HeadPane .Normal").html())
285})
286
287//menu
288jQuery(document).ready(function ($) {
289	$(".roll_menu").roll_menu({MTop:450}); 
290});
291
292jQuery(document).ready(function($) {		
293	$(".HeadPane_mobile").html($(".HeadPane .Normal").html())
294})
295	
296
297//Container-12 
298$(document).ready(function(){
299	$(".Container-12-img").Showphoto({
300			switchtime: 5000,
301			animationtime: 2000,
302			startpic:0
303	});
304});
305
306
307
308function customMap() {  
309	//Google Map
310	jQuery('#gmap').gMap({
311		address: 'Bear city, ny ',
312		maptype: 'hybrid',
313		zoom: 8,
314		scrollwheel: false,
315		scaleControl: true,
316		navigationControl: true,
317		markers: [{
318			address: 'Bear city, ny ',
319			html: 'marker 1'
320		},
321		{
322			address: ' 579 Allen Road Basking Ridge, NJ 07920 ',
323			html: 'marker 1'
324		},
325		{
326			address: ' Mount Arlington, NJ 07856',
327			html: 'marker 1'
328		}]
329	});
330	
331	// …………
332	//Google Map End
333	
334		jQuery('#gmap2').gMap({
335		address: 'Bear city, ny ',
336		maptype: 'hybrid',
337		zoom: 8,
338		scrollwheel: false,
339		scaleControl: true,
340		navigationControl: true,
341		markers: [{
342			address: 'Bear city, ny ',
343			html: 'marker 1'
344		},
345		{
346			address: ' 579 Allen Road Basking Ridge, NJ 07920 ',
347			html: 'marker 1'
348		},
349		{
350			address: ' Mount Arlington, NJ 07856',
351			html: 'marker 1'
352		}]
353	});
354}
355
356
357
358
359
360

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.