PageSourceSearch

https://clionneslam.com/wp-content/themes/stockholm/js/default_dynamic.js?ver=1752947943

js clionneslam.com collected 2026-10-06 09:25:27 UTC 4,243 bytes, 158 lines download raw bytes

1		
2		function ajaxSubmitCommentForm(){
3		"use strict";
4		
5		var options = {
6		success: function(){
7		$j("#commentform textarea").val("");
8		$j("#commentform .success p").text("Comment has been sent!");
9		}
10		};
11		
12		$j('#commentform').submit(function() {
13		$j(this).find('input[type="submit"]').next('.success').remove();
14		$j(this).find('input[type="submit"]').after('<div class="success"><p></p></div>');
15		$j(this).ajaxSubmit(options);
16		return false;
17		});
18		}
19		var header_height = 100;
20		var min_header_height_scroll = 57;
21		var min_header_height_fixed_hidden = 50;
22		var min_header_height_sticky = 60;
23		var scroll_amount_for_sticky = 85;
24		var content_line_height = 60;
25		var header_bottom_border_weight = 1;
26		var scroll_amount_for_fixed_hiding = 200;
27		var paspartu_width_init = 0.02;
28		var search_header_height = 50;
29		
30						header_height = 120;
31											min_header_height_sticky = 120;
32											var logo_height = 130; // stockholm logo height
33		var logo_width = 280; // stockholm logo width
34						logo_height  = 150;
35				logo_width = 150;
36					header_top_height = 0;
37		
38				
39				
40		var loading_text;
41		loading_text = 'Loading new posts...';
42		var finished_text;
43		finished_text = 'No more posts';
44					
45			var piechartcolor;
46			piechartcolor	= "#e6ae48";
47							piechartcolor = "#f05537";
48						
49			var geocoder;
50			var map;
51			
52			function initialize() {
53			"use strict";
54			// Create an array of styles.
55						var mapStyles = [
56			{
57			stylers: [
58			{hue: "#393939" },
59			{saturation: "-100"},
60			{lightness: "-60"},
61			{gamma: 1}
62			]
63			}
64			];
65			var qodeMapType = new google.maps.StyledMapType(mapStyles,
66			{name: "Qode Map"});
67			
68			geocoder = new google.maps.Geocoder();
69			var latlng = new google.maps.LatLng(-34.397, 150.644);
70			var myOptions = {
71						zoom: 12,
72							scrollwheel: false,
73						center: latlng,
74			zoomControl: true,
75			zoomControlOptions: {
76			style: google.maps.ZoomControlStyle.SMALL,
77			position: google.maps.ControlPosition.RIGHT_CENTER
78			},
79			scaleControl: false,
80			scaleControlOptions: {
81			position: google.maps.ControlPosition.LEFT_CENTER
82			},
83			streetViewControl: false,
84			streetViewControlOptions: {
85			position: google.maps.ControlPosition.LEFT_CENTER
86			},
87			panControl: false,
88			panControlOptions: {
89			position: google.maps.ControlPosition.LEFT_CENTER
90			},
91			mapTypeControl: false,
92			mapTypeControlOptions: {
93			mapTypeIds: [google.maps.MapTypeId.ROADMAP, 'qode_style'],
94			style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR,
95			position: google.maps.ControlPosition.LEFT_CENTER
96			},
97										mapTypeId: 'qode_style'
98						};
99			map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
100							map.mapTypes.set('qode_style', qodeMapType);
101						}
102			
103			function codeAddress(data) {
104			"use strict";
105			
106			if (data === '')
107			return;
108			
109			var contentString = '<div id="content"><div id="siteNotice"></div><div id="bodyContent"><p>'+data+'</p></div></div>';
110			var infowindow = new google.maps.InfoWindow({
111			content: contentString
112			});
113			geocoder.geocode( { 'address': data}, function(results, status) {
114			if (status === google.maps.GeocoderStatus.OK) {
115			map.setCenter(results[0].geometry.location);
116			var marker = new google.maps.Marker({
117			map: map,
118			position: results[0].geometry.location,
119							icon:  'https://stockholm34.qodeinteractive.com/wp-content/uploads/2020/07/Pin-img.png',
120						title: data['store_title']
121			});
122			google.maps.event.addListener(marker, 'click', function() {
123			infowindow.open(map,marker);
124			});
125			}
126			});
127			}
128			
129			var $j = jQuery.noConflict();
130			
131			$j(document).ready(function() {
132			"use strict";
133			
134			showContactMap();
135			});
136					
137		function showContactMap() {
138		"use strict";
139		
140		if($j("#map_canvas").length > 0 && typeof google === 'object'){
141		initialize();
142		codeAddress("");
143		codeAddress("");
144		codeAddress("");
145		codeAddress("");
146		codeAddress("New York, NY 10044, United States");
147		}
148		}
149		
150		var no_ajax_pages = [];
151		var qode_root = 'https://clionneslam.com/';
152		var theme_root = 'https://clionneslam.com/wp-content/themes/stockholm';
153					var header_style_admin = "dark";
154				if(typeof no_ajax_obj !== 'undefined') {
155		no_ajax_pages = no_ajax_obj.no_ajax_pages;
156		}
157		
158		

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.