PageSourceSearch

https://epiclinic.com.au/wp-content/themes/bridge/js/default_dynamic.js?ver=1635312894

js epiclinic.com.au collected 2026-09-24 08:54:40 UTC 4,198 bytes, 160 lines download raw bytes

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

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.