PageSourceSearch

https://www.linkingmakerandmarket.com/wp-content/themes/stockholm/js/default_dynamic.js?ver=1673291928

js linkingmakerandmarket.com collected 2026-10-08 04:16:39 UTC 4,249 bytes, 157 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 = 186;
31															var logo_height = 130; // stockholm logo height
32		var logo_width = 280; // stockholm logo width
33						logo_height  = 44;
34				logo_width = 210;
35					header_top_height = 0;
36		
37				
38				
39		var loading_text;
40		loading_text = 'Loading new posts...';
41		var finished_text;
42		finished_text = 'No more posts';
43					
44			var piechartcolor;
45			piechartcolor	= "#e6ae48";
46							piechartcolor = "#c9c9c9";
47						
48			var geocoder;
49			var map;
50			
51			function initialize() {
52			"use strict";
53			// Create an array of styles.
54						var mapStyles = [
55			{
56			stylers: [
57			{hue: "#393939" },
58			{saturation: "-100"},
59			{lightness: "-3"},
60			{gamma: 1}
61			]
62			}
63			];
64			var qodeMapType = new google.maps.StyledMapType(mapStyles,
65			{name: "Qode Map"});
66			
67			geocoder = new google.maps.Geocoder();
68			var latlng = new google.maps.LatLng(-34.397, 150.644);
69			var myOptions = {
70						zoom: 13,
71							scrollwheel: false,
72						center: latlng,
73			zoomControl: true,
74			zoomControlOptions: {
75			style: google.maps.ZoomControlStyle.SMALL,
76			position: google.maps.ControlPosition.RIGHT_CENTER
77			},
78			scaleControl: false,
79			scaleControlOptions: {
80			position: google.maps.ControlPosition.LEFT_CENTER
81			},
82			streetViewControl: false,
83			streetViewControlOptions: {
84			position: google.maps.ControlPosition.LEFT_CENTER
85			},
86			panControl: false,
87			panControlOptions: {
88			position: google.maps.ControlPosition.LEFT_CENTER
89			},
90			mapTypeControl: false,
91			mapTypeControlOptions: {
92			mapTypeIds: [google.maps.MapTypeId.ROADMAP, 'qode_style'],
93			style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR,
94			position: google.maps.ControlPosition.LEFT_CENTER
95			},
96										mapTypeId: 'qode_style'
97						};
98			map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
99							map.mapTypes.set('qode_style', qodeMapType);
100						}
101			
102			function codeAddress(data) {
103			"use strict";
104			
105			if (data === '')
106			return;
107			
108			var contentString = '<div id="content"><div id="siteNotice"></div><div id="bodyContent"><p>'+data+'</p></div></div>';
109			var infowindow = new google.maps.InfoWindow({
110			content: contentString
111			});
112			geocoder.geocode( { 'address': data}, function(results, status) {
113			if (status === google.maps.GeocoderStatus.OK) {
114			map.setCenter(results[0].geometry.location);
115			var marker = new google.maps.Marker({
116			map: map,
117			position: results[0].geometry.location,
118							icon:  'http://demo.select-themes.com/stockholm11/wp-content/uploads/2014/09/pin2.png',
119						title: data['store_title']
120			});
121			google.maps.event.addListener(marker, 'click', function() {
122			infowindow.open(map,marker);
123			});
124			}
125			});
126			}
127			
128			var $j = jQuery.noConflict();
129			
130			$j(document).ready(function() {
131			"use strict";
132			
133			showContactMap();
134			});
135					
136		function showContactMap() {
137		"use strict";
138		
139		if($j("#map_canvas").length > 0 && typeof google === 'object'){
140		initialize();
141		codeAddress("");
142		codeAddress("");
143		codeAddress("");
144		codeAddress("");
145		codeAddress("Prinses Beatrixlaan 2, 2595 AL The Hague, The Netherlands");
146		}
147		}
148		
149		var no_ajax_pages = [];
150		var qode_root = 'https://www.linkingmakerandmarket.com/';
151		var theme_root = 'https://www.linkingmakerandmarket.com/wp-content/themes/stockholm';
152					var header_style_admin = "";
153				if(typeof no_ajax_obj !== 'undefined') {
154		no_ajax_pages = no_ajax_obj.no_ajax_pages;
155		}
156		
157		

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.