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 = 100; 20var min_header_height_scroll = 57; 21var min_header_height_fixed_hidden = 50; 22var min_header_height_sticky = 60; 23var scroll_amount_for_sticky = 85; 24var content_line_height = 60; 25var header_bottom_border_weight = 1; 26var scroll_amount_for_fixed_hiding = 200; 27var paspartu_width_init = 0.02; 28var add_for_admin_bar = 0; 29 30var logo_height = 130; // proya logo height 31var logo_width = 280; // proya logo width 32 logo_height = 50; 33 logo_width = 287; 34 35 header_top_height = 0; 36var loading_text; 37loading_text = 'Loading new posts...'; 38var finished_text; 39finished_text = 'No more posts'; 40 41var piechartcolor; 42piechartcolor = "#1abc9c"; 43 piechartcolor = "#00cdf7"; 44 45var geocoder; 46var map; 47 48function initialize() { 49 "use strict"; 50 // Create an array of styles. 51 var mapStyles = [ 52 { 53 stylers: [ 54 {hue: "#324156" }, 55 {saturation: "-60"}, 56 {lightness: "-20"}, 57 {gamma: 1.51} 58 ] 59 } 60 ]; 61 var qodeMapType = new google.maps.StyledMapType(mapStyles, 62 {name: "Qode Map"}); 63 64 geocoder = new google.maps.Geocoder(); 65 var latlng = new google.maps.LatLng(-34.397, 150.644); 66 var myOptions = { 67 zoom: 3, 68 scrollwheel: false, 69 center: latlng, 70 zoomControl: true, 71 zoomControlOptions: { 72 style: google.maps.ZoomControlStyle.SMALL, 73 position: google.maps.ControlPosition.RIGHT_CENTER 74 }, 75 scaleControl: false, 76 scaleControlOptions: { 77 position: google.maps.ControlPosition.LEFT_CENTER 78 }, 79 streetViewControl: false, 80 streetViewControlOptions: { 81 position: google.maps.ControlPosition.LEFT_CENTER 82 }, 83 panControl: false, 84 panControlOptions: { 85 position: google.maps.ControlPosition.LEFT_CENTER 86 }, 87 mapTypeControl: false, 88 mapTypeControlOptions: { 89 mapTypeIds: [google.maps.MapTypeId.ROADMAP, 'qode_style'], 90 style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR, 91 position: google.maps.ControlPosition.LEFT_CENTER 92 }, 93 mapTypeId: google.maps.MapTypeId.ROADMAP 94 }; 95 map = new google.maps.Map(document.getElementById("map_canvas"), myOptions); 96 } 97 98function 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://dev.michael-biegner-training.com/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 131var $j = jQuery.noConflict(); 132 133$j(document).ready(function() { 134 "use strict"; 135 136 showContactMap(); 137}); 138 139function showContactMap() { 140 "use strict"; 141 142 if($j("#map_canvas").length > 0){ 143 initialize(); 144 codeAddress(""); 145 codeAddress(""); 146 codeAddress(""); 147 codeAddress(""); 148 codeAddress("Museum of the City of New York, New York, USA"); 149 } 150} 151 152var no_ajax_pages = []; 153var qode_root = 'https://biegner-training.de/'; 154var theme_root = 'https://biegner-training.de/wp-content/themes/bridge/'; 155var header_style_admin = ""; 156if(typeof no_ajax_obj !== 'undefined') { 157 no_ajax_pages = no_ajax_obj.no_ajax_pages; 158}
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.