PageSourceSearch

https://findcarett.com/wp-content/themes/bridge/js/default_dynamic.js?ver=1726237367

js findcarett.com collected 2026-10-06 15:09:53 UTC 4,337 bytes, 165 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 = 150;
30											min_header_height_sticky = 80;
31									scroll_amount_for_sticky = 300;
32														paspartu_width_init = 0.03;
33		
34		var logo_height = 130; // proya logo height
35		var logo_width = 280; // proya logo width
36								logo_height = 150;
37						logo_width = 300;
38
39												header_top_height= 100;
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	= "#1abc9c";
47							piechartcolor = "#22a2d8";
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: "#324156" },
59			{saturation: "-60"},
60			{lightness: "-20"},
61			{gamma: 1.51}
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">'+
110				'<div id="siteNotice">'+
111					'</div>'+
112				'<div id="bodyContent">'+
113					'<p>'+data+'</p>'+
114					'</div>'+
115				'</div>';
116			var infowindow = new google.maps.InfoWindow({
117			content: contentString
118			});
119			geocoder.geocode( { 'address': data}, function(results, status) {
120			if (status === google.maps.GeocoderStatus.OK) {
121			map.setCenter(results[0].geometry.location);
122			var marker = new google.maps.Marker({
123			map: map,
124			position: results[0].geometry.location,
125							icon:  'http://bridge129.qodeinteractive.com/wp-content/themes/bridge/img/pin.png',
126						title: data['store_title']
127			});
128			google.maps.event.addListener(marker, 'click', function() {
129			infowindow.open(map,marker);
130			});
131			//infowindow.open(map,marker);
132			}
133			});
134			}
135
136			var $j = jQuery.noConflict();
137
138			$j(document).ready(function() {
139			"use strict";
140
141			showContactMap();
142			});
143			
144		function showContactMap() {
145		"use strict";
146
147		if($j("#map_canvas").length > 0){
148		initialize();
149		codeAddress("");
150		codeAddress("");
151		codeAddress("");
152		codeAddress("");
153		codeAddress("");
154		}
155		}
156
157		var no_ajax_pages = [];
158		var qode_root = 'https://findcarett.com/';
159		var theme_root = 'https://findcarett.com/wp-content/themes/bridge/';
160					var header_style_admin = "";
161				if(typeof no_ajax_obj !== 'undefined') {
162		no_ajax_pages = no_ajax_obj.no_ajax_pages;
163		}
164
165	

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.