PageSourceSearch

https://www.zur-scharfen-ecke.com/wp-content/themes/soho-hotel/fra…?ver=e3a54cc5e92b96b7618b266a56fa57b4

js zur-scharfen-ecke.com collected 2026-10-08 09:58:46 UTC 7,739 bytes, 202 lines download raw bytes

1jQuery(document).ready(function($) { 
2	
3	"use strict";
4	
5	// Fixed Menu
6	var headerwrapper = $(sohohotel_siteheader).outerHeight();
7	
8	$(window).scroll(function () {
9	
10		// Only display sticky menu on non-mobile devices
11		if ( $(window).width() > 1020 ) {
12	
13			if ($(this).scrollTop() > 600) {
14				
15				$(".sohohotel-fixed-navigation").addClass("sohohotel-fixed-navigation-show");
16				
17				if (sohohotel_siteheader == '.sohohotel-header-1' || sohohotel_siteheader == '.sohohotel-header-3' || sohohotel_siteheader == '.sohohotel-header-5' || sohohotel_siteheader == '.sohohotel-header-6') {
18					$(".sohohotel-fixed-navigation-wrapper").css("height", headerwrapper);
19				} 
20				
21			} else {
22				$(".sohohotel-fixed-navigation").removeClass("sohohotel-fixed-navigation-show");
23				$(".sohohotel-fixed-navigation-wrapper").removeAttr("style");
24			}
25
26		}
27
28	});
29	
30	// If window is resized to mobile size when sticky menu is displaying, hide it
31	$(window).resize(function () {
32
33		if ( $(window).width() <= 1020 ) {
34			$(".sohohotel-fixed-navigation").removeClass("sohohotel-fixed-navigation-show");
35			$(".sohohotel-fixed-navigation-wrapper").removeAttr("style");
36		}
37
38	});
39
40	// Mobile Navigation
41	$(window).resize(function() {
42	  if ($(window).width() > 1005) {
43		$(".sohohotel-mobile-navigation-wrapper").css("display","none");
44	  }
45	});
46
47	// Mobile Navigation Button
48	$( ".sohohotel-mobile-navigation-button" ).click(function() {
49	  $( ".sohohotel-mobile-navigation-wrapper" ).slideToggle( "slow", function() {
50	    // Animation complete.
51	  });
52	});
53	
54	// Main Navigation
55	jQuery(".sohohotel-navigation ul").on("mouseenter mouseleave",".menu-item-has-children", function (e) {
56
57		var elm = $("ul:first", this);
58		var off = elm .offset();
59		var l = off.left;
60		var w = elm.width();
61		var docH = $(".sohohotel-site-wrapper").height();
62		var docW = $(".sohohotel-site-wrapper").width();
63
64		var isEntirelyVisible = (l+ w <= docW);
65
66		if ( ! isEntirelyVisible ) {
67			$(this).addClass("edge");
68		} else {
69			$(this).removeClass("edge");
70		}
71	});
72	
73	// Testimonials
74	$('.sohohotel-owl-carousel-1').owlCarousel({
75	    loop:false,
76	    margin:30,
77	    nav:false,
78		pagination: true,
79		navText: "",
80	    responsive:{
81	        0:{
82	            items:1
83	        },
84			490:{
85	            items:1
86	        },
87			710:{
88	            items:1
89	        },
90			920:{
91	            items:1
92	        },
93	    }
94	})
95	
96	// Blog
97	$('.sohohotel-owl-carousel-2').owlCarousel({
98	    loop:false,
99	    margin:30,
100	    nav:false,
101		pagination: true,
102		navText: "",
103	    responsive:{
104	        0:{
105	            items:1
106	        },
107			490:{
108	            items:2
109	        },
110			710:{
111	            items:3
112	        },
113			920:{
114	            items:4
115	        },
116	    }
117	})
118	
119	// PrettyPhoto
120	$("a[data-gal^='prettyPhoto']").prettyPhoto({
121		hook: 'data-gal',
122		animation_speed: 'fast', /* fast/slow/normal */
123		slideshow: 5000, /* false OR interval time in ms */
124		autoplay_slideshow: false, /* true/false */
125		opacity: 0.80, /* Value between 0 and 1 */
126		show_title: true, /* true/false */
127		allow_resize: true, /* Resize the photos bigger than viewport. true/false */
128		default_width: 900,
129		default_height: 506,
130		counter_separator_label: '/', /* The separator for the gallery counter 1 "of" 2 */
131		theme: 'pp_default', /* light_rounded / dark_rounded / light_square / dark_square / facebook */
132		horizontal_padding: 20, /* The padding on each side of the picture */
133		hideflash: false, /* Hides all the flash object on a page, set to TRUE if flash appears over prettyPhoto */
134		wmode: 'opaque', /* Set the flash wmode attribute */
135		autoplay: true, /* Automatically start videos: True/False */
136		modal: false, /* If set to true, only the close button will close the window */
137		deeplinking: false, /* Allow prettyPhoto to update the url to enable deeplinking. */
138		overlay_gallery: false, /* If set to true, a gallery will overlay the fullscreen image on mouse over */
139		keyboard_shortcuts: true, /* Set to false if you open forms inside prettyPhoto */
140		changepicturecallback: function(){}, /* Called everytime an item is shown/changed */
141		callback: function(){}, /* Called when prettyPhoto is closed */
142		ie6_fallback: true,
143		markup: '<div class="pp_pic_holder"> \
144					<div class="ppt">&nbsp;</div> \
145					<div class="pp_top"> \
146						<div class="pp_left"></div> \
147						<div class="pp_middle"></div> \
148						<div class="pp_right"></div> \
149					</div> \
150					<div class="pp_content_container"> \
151						<div class="pp_left"> \
152							<div class="pp_right"> \
153								<div class="pp_content"> \
154									<div class="pp_loaderIcon"></div> \
155									<div class="pp_fade"> \
156										<a href="#" class="pp_expand" title="Expand the image">Expand</a> \
157										<div class="pp_hoverContainer"> \
158											<a class="pp_next" href="#">next</a> \
159											<a class="pp_previous" href="#">previous</a> \
160										</div> \
161										<div id="pp_full_res"></div> \
162										<div class="pp_details"> \
163											<div class="pp_nav"> \
164												<a href="#" class="pp_arrow_previous">Previous</a> \
165												<p class="currentTextHolder">0/0</p> \
166												<a href="#" class="pp_arrow_next">Next</a> \
167											</div> \
168											<p class="pp_description"></p> \
169											{pp_social} \
170											<a class="pp_close" href="#"><i class="fa fa-close"></i></a> \
171										</div> \
172									</div> \
173								</div> \
174							</div> \
175							</div> \
176						</div> \
177						<div class="pp_bottom"> \
178							<div class="pp_left"></div> \
179							<div class="pp_middle"></div> \
180							<div class="pp_right"></div> \
181						</div> \
182					</div> \
183					<div class="pp_overlay"></div>',
184			gallery_markup: '<div class="pp_gallery"> \
185								<a href="#" class="pp_arrow_previous">Previous</a> \
186								<div> \
187									<ul> \
188										{gallery} \
189									</ul> \
190								</div> \
191								<a href="#" class="pp_arrow_next">Next</a> \
192							</div>',
193			image_markup: '<img id="fullResImage" src="{path}" />',
194			flash_markup: '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="{width}" height="{height}"><param name="wmode" value="{wmode}" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="{path}" /><embed src="{path}" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="{width}" height="{height}" wmode="{wmode}"></embed></object>',
195			quicktime_markup: '<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="{height}" width="{width}"><param name="src" value="{path}"><param name="autoplay" value="{autoplay}"><param name="type" value="video/quicktime"><embed src="{path}" height="{height}" width="{width}" autoplay="{autoplay}" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/"></embed></object>',
196			iframe_markup: '<iframe src ="{path}" width="{width}" height="{height}" frameborder="no"></iframe>',
197			inline_markup: '<div class="pp_inline">{content}</div>',
198			custom_markup: '',
199			social_tools: '<div class="pp_social"><div class="twitter"><a href="http://twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="facebook"><iframe src="http://www.facebook.com/plugins/like.php?locale=en_US&href='+location.href+'&amp;layout=button_count&amp;show_faces=true&amp;width=500&amp;action=like&amp;font&amp;colorscheme=light&amp;height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:23px;" allowTransparency="true"></iframe></div></div>' /* html or false to disable */
200	});
201
202});

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.