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