PageSourceSearch

https://merchantman.ca/wp-content/themes/bridge/js/default_dynamic.js?ver=1774964596

js merchantman.ca collected 2026-10-04 10:19:26 UTC 3,683 bytes, 144 lines download raw bytes

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

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.