PageSourceSearch

https://simscorner.ca/wp-content/themes/bridge/js/default_dynamic_callback.php?ver=6.8.9

js simscorner.ca collected 2026-10-04 06:53:18 UTC 3,424 bytes, 141 lines download raw bytes

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

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.