PageSourceSearch

https://www.kalhost.com/js/slideshow-homepage1791.js

js kalhost.com collected 2026-10-08 17:00:24 UTC 3,926 bytes, 107 lines download raw bytes

1	/******************************************
2					-	PREPARE PLACEHOLDER FOR SLIDER	-
3				******************************************/
4				
5
6				var setREVStartSize = function() {
7					var	tpopt = new Object();
8						tpopt.startwidth = 1140;
9						tpopt.startheight = 630;
10						tpopt.container = jQuery('#rev_slider_7_1');
11						tpopt.fullScreen = "off";
12						tpopt.forceFullWidth="off";
13
14					tpopt.container.closest(".rev_slider_wrapper").css({height:tpopt.container.height()});tpopt.width=parseInt(tpopt.container.width(),0);tpopt.height=parseInt(tpopt.container.height(),0);tpopt.bw=tpopt.width/tpopt.startwidth;tpopt.bh=tpopt.height/tpopt.startheight;if(tpopt.bh>tpopt.bw)tpopt.bh=tpopt.bw;if(tpopt.bh<tpopt.bw)tpopt.bw=tpopt.bh;if(tpopt.bw<tpopt.bh)tpopt.bh=tpopt.bw;if(tpopt.bh>1){tpopt.bw=1;tpopt.bh=1}if(tpopt.bw>1){tpopt.bw=1;tpopt.bh=1}tpopt.height=Math.round(tpopt.startheight*(tpopt.width/tpopt.startwidth));if(tpopt.height>tpopt.startheight&&tpopt.autoHeight!="on")tpopt.height=tpopt.startheight;if(tpopt.fullScreen=="on"){tpopt.height=tpopt.bw*tpopt.startheight;var cow=tpopt.container.parent().width();var coh=jQuery(window).height();if(tpopt.fullScreenOffsetContainer!=undefined){try{var offcontainers=tpopt.fullScreenOffsetContainer.split(",");jQuery.each(offcontainers,function(e,t){coh=coh-jQuery(t).outerHeight(true);if(coh<tpopt.minFullScreenHeight)coh=tpopt.minFullScreenHeight})}catch(e){}}tpopt.container.parent().height(coh);tpopt.container.height(coh);tpopt.container.closest(".rev_slider_wrapper").height(coh);tpopt.container.closest(".forcefullwidth_wrapper_tp_banner").find(".tp-fullwidth-forcer").height(coh);tpopt.container.css({height:"100%"});tpopt.height=coh;}else{tpopt.container.height(tpopt.height);tpopt.container.closest(".rev_slider_wrapper").height(tpopt.height);tpopt.container.closest(".forcefullwidth_wrapper_tp_banner").find(".tp-fullwidth-forcer").height(tpopt.height);}
15				};
16
17				/* CALL PLACEHOLDER */
18				setREVStartSize();
19
20
21				var tpj=jQuery;
22				tpj.noConflict();
23				var revapi7;
24
25				tpj(document).ready(function() {
26
27				if(tpj('#rev_slider_7_1').revolution == undefined){
28					revslider_showDoubleJqueryError('#rev_slider_7_1');
29				}else{
30				   revapi7 = tpj('#rev_slider_7_1').show().revolution(
31					{	
32												dottedOverlay:"none",
33						delay:9000,
34						startwidth:1140,
35						startheight:630,
36						hideThumbs:200,
37
38						thumbWidth:100,
39						thumbHeight:50,
40						thumbAmount:3,
41						
42												
43						simplifyAll:"off",
44
45						navigationType:"bullet",
46						navigationArrows:"solo",
47						navigationStyle:"custom",
48
49						touchenabled:"on",
50						onHoverStop:"on",
51						nextSlideOnWindowFocus:"off",
52
53						swipe_threshold: 75,
54						swipe_min_touches: 1,
55						drag_block_vertical: false,
56						
57												
58												
59						keyboardNavigation:"off",
60
61						navigationHAlign:"center",
62						navigationVAlign:"bottom",
63						navigationHOffset:0,
64						navigationVOffset:20,
65
66						soloArrowLeftHalign:"left",
67						soloArrowLeftValign:"center",
68						soloArrowLeftHOffset:20,
69						soloArrowLeftVOffset:0,
70
71						soloArrowRightHalign:"right",
72						soloArrowRightValign:"center",
73						soloArrowRightHOffset:20,
74						soloArrowRightVOffset:0,
75
76						shadow:0,
77						fullWidth:"on",
78						fullScreen:"off",
79
80												spinner:"spinner0",
81												
82						stopLoop:"off",
83						stopAfterLoops:-1,
84						stopAtSlide:-1,
85
86						shuffle:"off",
87
88						autoHeight:"off",
89						forceFullWidth:"off",
90						
91						
92						
93						hideThumbsOnMobile:"off",
94						hideNavDelayOnMobile:1500,
95						hideBulletsOnMobile:"off",
96						hideArrowsOnMobile:"off",
97						hideThumbsUnderResolution:0,
98
99												hideSliderAtLimit:0,
100						hideCaptionAtLimit:0,
101						hideAllCaptionAtLilmit:0,
102						startWithSlide:0					});
103
104
105
106									}
107				});	/*ready*/

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.