PageSourceSearch

https://www.abcracking.com/wp-content/themes/strata/js/default_dyn…?ver=0796f3033ff56a937b5cc773fade956a

js abcracking.com collected 2026-10-04 19:19:14 UTC 3,657 bytes, 150 lines download raw bytes

1
2function 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}
19var header_height = 85;
20var min_header_height_scroll = 57;
21var min_header_height_sticky = 60;
22var scroll_amount_for_sticky = 85;
23var content_line_height = 60;
24var add_for_admin_bar = 0;
25	header_height = 120;
26	min_header_height_scroll = 200;
27	min_header_height_sticky = 200;
28	scroll_amount_for_sticky = 120;
29
30var logo_height = 130; // theme13 logo height
31var logo_width = 280; // theme13 logo width
32	logo_height = 94;
33	logo_width = 410;
34	
35	header_top_height = 33;
36
37
38var geocoder;
39var map;
40
41function initialize() {
42	"use strict";
43  // Create an array of styles.
44  var mapStyles = [
45    {
46      stylers: [
47				{hue: "#6699FF" },
48				{saturation: -60},
49				{lightness: -20},
50				{gamma: 1.51}
51			]
52    }
53  ];
54  var qodeMapType = new google.maps.StyledMapType(mapStyles,
55    {name: "Qode Map"});
56
57	geocoder = new google.maps.Geocoder();
58	var latlng = new google.maps.LatLng(-34.397, 150.644);
59	var myOptions = {
60		zoom: 12,
61				center: latlng,
62		zoomControl: true,
63		zoomControlOptions: {
64			style: google.maps.ZoomControlStyle.SMALL,
65			position: google.maps.ControlPosition.RIGHT_CENTER
66		},
67		scaleControl: false,
68			scaleControlOptions: {
69			position: google.maps.ControlPosition.LEFT_CENTER
70		},
71		streetViewControl: false,
72			streetViewControlOptions: {
73			position: google.maps.ControlPosition.LEFT_CENTER
74		},
75		panControl: false,
76		panControlOptions: {
77			position: google.maps.ControlPosition.LEFT_CENTER
78		},
79		mapTypeControl: false,
80		mapTypeControlOptions: {
81			mapTypeIds: [google.maps.MapTypeId.ROADMAP, 'qode_style'],
82			style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR,
83			position: google.maps.ControlPosition.LEFT_CENTER
84		},
85				mapTypeId: 'qode_style'
86			};
87	map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
88	  map.mapTypes.set('qode_style', qodeMapType);
89	}
90
91function codeAddress(data) {
92	"use strict";
93	
94	if (data === '')
95		return;
96
97	var contentString = '<div id="content">'+
98	'<div id="siteNotice">'+
99	'</div>'+
100	'<div id="bodyContent">'+
101	'<p>'+data+'</p>'+
102	'</div>'+
103	'</div>';
104	var infowindow = new google.maps.InfoWindow({
105		content: contentString
106	});
107	geocoder.geocode( { 'address': data}, function(results, status) {
108		if (status === google.maps.GeocoderStatus.OK) {
109			map.setCenter(results[0].geometry.location);
110			var marker = new google.maps.Marker({
111				map: map, 
112				position: results[0].geometry.location,
113								icon:  'http://www.abcracking.com/wp-content/themes/strata/img/pin.png',
114								title: data['store_title']
115			});
116			google.maps.event.addListener(marker, 'click', function() {
117				infowindow.open(map,marker);
118			});
119			//infowindow.open(map,marker);
120		}
121	});
122}
123
124var $j = jQuery.noConflict();
125
126$j(document).ready(function() {
127	"use strict";
128
129	showContactMap();
130});
131
132function showContactMap() {
133	"use strict";
134
135	if($j("#map_canvas").length > 0){
136		initialize();
137		codeAddress("");
138		codeAddress("");
139		codeAddress("");
140		codeAddress("");
141		codeAddress("65 Cheston Road, Birmingham, B7 5EA");
142	}
143}
144
145var no_ajax_pages = [];
146var root = 'https://www.abcracking.com/';
147var theme_root = 'https://www.abcracking.com/wp-content/themes/strata/';
148var parallax_speed = 1;
149var header_style_admin = "";
150		no_ajax_pages.push('');

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.