PageSourceSearch

https://shop.unikat-hoengg.ch/assets/javascripts/view/demo.revolution_slider.js?ts=1765258328

js unikat-hoengg.ch collected 2026-10-08 07:39:33 UTC 6,392 bytes, 279 lines download raw bytes

1jQuery(document).ready(function() {
2	var revapi;
3
4
5
6	// Make Content Visible
7	jQuery(".fullwidthbanner ul , .fullscreenbanner ul").removeClass('hide');
8
9
10	/**
11		@HALFSCREEN SLIDER
12	**/
13	if(jQuery(".fullwidthbanner").length > 0) {
14
15		// Default Thumbs [small]
16		var thumbWidth 			= 100,
17			thumbHeight 		= 50,
18			hideThumbs			= 200,
19			navigationType		= "bullet",
20			navigationArrows	= "solo",
21			navigationVOffset	= 10;
22
23		// Shadow
24		_shadow = jQuery(".fullwidthbanner").attr('data-shadow') || 0;
25
26		// Small Thumbnails
27		if(jQuery(".fullwidthbanner").hasClass('thumb-small')) {
28			var navigationType 		= "thumb";
29		}
30		
31		// Large Thumbnails
32		if(jQuery(".fullwidthbanner").hasClass('thumb-large')) {
33			var navigationType 		= "thumb";
34				thumbWidth 			= 195,
35				thumbHeight 		= 95,
36				hideThumbs			= 0,
37				navigationArrows	= "solo",
38				navigationVOffset	= -94;
39
40				// Hide thumbs on mobile - Avoid gaps
41				/**
42				if(jQuery(window).width() < 800) {
43					setTimeout(function() {
44						var navigationVOffset = 10;
45						jQuery("div.tp-thumbs").addClass('hidden');
46					}, 100);
47				}
48				**/
49		}
50
51		// Init Revolution Slider
52		revapi = jQuery('.fullwidthbanner').revolution({
53			dottedOverlay:"none",
54			delay:9000,
55			startwidth:1170,
56			startheight: jQuery(".fullwidthbanner").attr('data-height') || 500,
57			hideThumbs:hideThumbs,
58
59			thumbWidth:thumbWidth,
60			thumbHeight:thumbHeight,
61			thumbAmount: parseInt(jQuery(".fullwidthbanner ul li").length) || 2,
62
63			navigationType:navigationType,
64			navigationArrows:navigationArrows,
65			navigationStyle:jQuery('.fullwidthbanner').attr('data-navigationStyle') || "round", // round,square,navbar,round-old,square-old,navbar-old (see docu - choose between 50+ different item)
66
67			touchenabled:"on",
68			onHoverStop:"on",
69
70			navigationHAlign:"center",
71			navigationVAlign:"bottom",
72			navigationHOffset:0,
73			navigationVOffset:navigationVOffset,
74
75			soloArrowLeftHalign:"left",
76			soloArrowLeftValign:"center",
77			soloArrowLeftHOffset:20,
78			soloArrowLeftVOffset:0,
79
80			soloArrowRightHalign:"right",
81			soloArrowRightValign:"center",
82			soloArrowRightHOffset:20,
83			soloArrowRightVOffset:0,
84
85			parallax:"mouse",
86			parallaxBgFreeze:"on",
87			parallaxLevels:[7,4,3,2,5,4,3,2,1,0],
88
89			shadow: parseInt(_shadow),
90			fullWidth:"on",
91			fullScreen:"off",
92
93			stopLoop:"off",
94			stopAfterLoops:-1,
95			stopAtSlide:-1,
96
97			spinner:"spinner0",
98			shuffle:"off",
99
100			autoHeight:"off",
101			forceFullWidth:"off",
102
103			hideThumbsOnMobile:"off",
104			hideBulletsOnMobile:"on",
105			hideArrowsOnMobile:"on",
106			hideThumbsUnderResolution:0,
107
108			hideSliderAtLimit:0,
109			hideCaptionAtLimit:768,
110			hideAllCaptionAtLilmit:0,
111			startWithSlide:0,
112			fullScreenOffsetContainer: ""
113		});
114
115		// Used by styleswitcher onle - delete this on production!
116		jQuery("#is_wide, #is_boxed").bind("click", function() { revapi.revredraw(); });
117	}
118
119
120	/**
121		@FULLSCREEN SLIDER
122	**/
123	if(jQuery(".fullscreenbanner").length > 0) {
124
125		var tpj=jQuery;				
126		tpj.noConflict();				
127		var revapi25;
128
129		// Shadow
130		_shadow = jQuery(".fullscreenbanner").attr('data-shadow') || 0;
131
132		tpj(document).ready(function() {
133						
134			if(tpj('.fullscreenbanner').revolution != undefined) {
135				revapi25 = tpj('.fullscreenbanner').show().revolution({
136					dottedOverlay:"none",
137					delay:9000,
138					startwidth:1200,
139					startheight:700,
140					hideThumbs:10,
141					
142					thumbWidth:100,
143					thumbHeight:50,
144					thumbAmount:4,
145					
146					navigationType:"none",
147					navigationArrows:"solo",
148					navigationStyle:jQuery('.fullscreenbanner').attr('data-navigationStyle') || "round",
149					
150					touchenabled:"on",
151					onHoverStop:"on",
152
153					swipe_velocity: 0.7,
154					swipe_min_touches: 1,
155					swipe_max_touches: 1,
156					drag_block_vertical: false,
157
158					keyboardNavigation:"on",
159					
160					navigationHAlign:"center",
161					navigationVAlign:"bottom",
162					navigationHOffset:0,
163					navigationVOffset:30,
164
165					soloArrowLeftHalign:"left",
166					soloArrowLeftValign:"center",
167					soloArrowLeftHOffset:20,
168					soloArrowLeftVOffset:0,
169
170					soloArrowRightHalign:"right",
171					soloArrowRightValign:"center",
172					soloArrowRightHOffset:20,
173					soloArrowRightVOffset:0,
174
175					parallax:"mouse",
176					parallaxBgFreeze:"on",
177					parallaxLevels:[7,4,3,2,5,4,3,2,1,0],
178
179					shadow: parseInt(_shadow),
180					fullWidth:"off",
181					fullScreen:"on",
182
183					stopLoop:"off",
184					stopAfterLoops:-1,
185					stopAtSlide:-1,
186					
187					shuffle:"off",
188
189					forceFullWidth:"off",						
190					fullScreenAlignForce:"off",	
191					
192					hideThumbsOnMobile:"off",
193					hideBulletsOnMobile:"on",
194					hideArrowsOnMobile:"off",
195					hideThumbsUnderResolution:0,
196					
197					hideSliderAtLimit:0,
198					hideCaptionAtLimit:768,
199					hideAllCaptionAtLilmit:0,
200					startWithSlide:0,
201					fullScreenOffsetContainer: jQuery("#header").hasClass('transparent') || jQuery("#header").hasClass('translucent') ? null : "#header"	
202				});
203
204			}
205		});	//ready
206
207	}
208
209
210	/**
211		@KEN BURNS
212	**/
213	if(jQuery(".fullscreenbanner.ken-burns").length > 0) {
214
215		revapi = jQuery('.fullwidthbanner').revolution({
216			dottedOverlay:"none",
217			delay:9000,
218			startwidth:1170,
219			startheight:400,
220			hideThumbs:200,
221			
222			thumbWidth:100,
223			thumbHeight:50,
224			thumbAmount:5,
225			
226			navigationType:"bullet",
227			navigationArrows:"solo",
228			navigationStyle:jQuery('.fullwidthbanner').attr('data-navigationStyle') || "round",
229			
230			touchenabled:"on",
231			onHoverStop:"off",
232			
233			navigationHAlign:"center",
234			navigationVAlign:"bottom",
235			navigationHOffset:0,
236			navigationVOffset:10,
237
238			soloArrowLeftHalign:"left",
239			soloArrowLeftValign:"center",
240			soloArrowLeftHOffset:20,
241			soloArrowLeftVOffset:0,
242
243			soloArrowRightHalign:"right",
244			soloArrowRightValign:"center",
245			soloArrowRightHOffset:20,
246			soloArrowRightVOffset:0,
247					
248			shadow:0,
249			fullWidth:"on",
250			fullScreen:"off",
251
252			stopLoop:"off",
253			stopAfterLoops:-1,
254			stopAtSlide:-1,
255
256			
257			shuffle:"off",
258			
259			autoHeight:"off",						
260			forceFullWidth:"off",						
261									
262			hideThumbsOnMobile:"off",
263			hideBulletsOnMobile:"off",
264			hideArrowsOnMobile:"off",
265			hideThumbsUnderResolution:0,
266			
267			hideSliderAtLimit:0,
268			hideCaptionAtLimit:0,
269			hideAllCaptionAtLilmit:0,
270			startWithSlide:0,
271			fullScreenOffsetContainer: ""
272		});
273
274		// Used by styleswitcher only - delete this on production!
275		jQuery("#is_wide, #is_boxed").bind("click", function() { revapi.revredraw(); });
276
277	}
278
279});	//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.