HTML Report for https://glscollective.com/dress-store-locator/
This tool is an ongoing experiment in better HTML checking, and its behavior remains subject to changeShowing results for https://glscollective.com/dress-store-locator/
You can view the notes...
view-source:https://glscollective.com/dress-store-locator/
| # | results |
|---|---|
| 1 |
Error
On line 1, column 9 <https://glscol |
| 2 |
Error
On line 1, column 10 <https://glscoll |
| 3 |
Error
On line 1, column 28 <https://glscollective.com/wp-json |
| 4 |
Error
On line 1, column 36 tive.com/wp-json/>; rel= |
| 5 |
Info
On line 1, column 36 tive.com/wp-json/>; rel= |
| 6 |
Error
On line 1, column 36 tive.com/wp-json/>; rel= |
| 7 |
Error
On line 2, column 15 /wp-json/>; rel="https://api.w.org/" Link: <https://glscol |
| 8 |
Error
On line 2, column 16 <https://glscoll |
| 9 |
Error
On line 2, column 34 <https://glscollective.com/wp-json |
| 10 |
Error
On line 2, column 42 tive.com/wp-json/wp/v2/p |
| 11 |
Error
On line 2, column 45 /wp-json/wp/v2/page |
| 12 |
Error
On line 2, column 48 -json/wp/v2/pages/1 |
| 13 |
Error
On line 2, column 54 on/wp/v2/pages/156>; r |
| 14 |
Info
On line 2, column 57 v2/pages/156>; rel= |
| 15 |
Info
On line 2, column 57 v2/pages/156>; rel= |
| 16 |
Error
On line 3, column 15 pages/156>; rel="alternate"; type="application/json" Link: <https://glscol |
| 17 |
Error
On line 3, column 16 <https://glscoll |
| 18 |
Error
On line 3, column 34 <https://glscollective.com/?p=156> |
| 19 |
Info
On line 3, column 40 tive.com/?p=156>; rel= |
| 20 |
Info
On line 3, column 40 tive.com/?p=156>; rel= |
| 21 |
Error
On line 10, column 15 om/?p=156>; rel=shortlink Content-Encoding: gzip Content-Length: 4832 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8 <!DOCTYPE html> <html |
| 22 |
Error
On line 11, column 16 TYPE html> <html lang="en"> <head |
| 23 |
Error
On line 12, column 6 lang="en"> <head> < |
| 24 |
Error
On line 31, column 7 n"> <head> <title>Store Locator | Find your nearest store - GLS Collective</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="Find your nearest store and shop with one of our distributors. Find the best wedding dresses, quinceanera, graduation, prom, pageant and more." /> <meta property="og:title" content="Store Locator - Find your store | GLS Collective" /> <link rel="canonical" href="https://glscollective.com/dress-store-locator/" /> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"> <link rel="stylesheet" href="https://glscollective.com/wp-content/themes/gls/css/style.css"> <link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Mulish:wght@300;400;500;600;700&display=swap" rel="stylesheet"> <link rel="alternate" href="https://glscollective.com/dress-store-locator/" hreflang="en" /> <link rel="alternate" href="https://glscollective.com/espanol/offline-store-espanol/" hreflang="es" /> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script> <script src="https://code.jquery.com/jquery-3.4.1.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script> </head> <body |
| 25 |
Error
On line 32, column 6 </head> <body> <d |
| 26 |
Info
On line 122, column 11 ad> <body> <div class="container-fluid"> <div class="row"> <div class="bg-bar col-12"> <div class="row"> <div class="col-12 col-xl-4 col-sm-12 col-md-12"><a href="https://glscollective.com"><img class="img-fluid" src="https://glscollective.com/wp-content/themes/gls/images/logo.png"></a><span class="store-text d-block">store locator</span></div> <div class="col-12 col-xl-8 col-sm-12 col-md-12 find-store d-flex justify-content-end"> <div class="store"><span class="text-store">Find Store</span></div> <div class="store"> <select class="form-control" name="country" id="countryid"> <option selected value="">Select</option> <option value="US">United States of America (the) </option> <option value="DZ">Algeria </option> <option value="AO">Angola </option> <option value="AR">Argentina </option> <option value="AU">Australia </option> <option value="BS">Bahamas (the) </option> <option value="BB">Barbados </option> <option value="BE">Belgium </option> <option value="BO">Bolivia </option> <option value="BR">Brazil </option> <option value="CA">Canada </option> <option value="CL">Chile </option> <option value="CO">Colombia </option> <option value="CR">Costa Rica </option> <option value="CY">Cyprus </option> <option value="DK">Denmark </option> <option value="EC">Ecuador </option> <option value="IL">Israel </option> <option value="IT">Italy </option> <option value="JP">Japan </option> <option value="MT">Malta </option> <option value="MX">Mexico </option> <option value="NL">Netherlands (the) </option> <option value="NZ">New Zealand </option> <option value="NO">Norway </option> <option value="PT">Portugal </option> <option value="PR">Puerto Rico </option> <option value="RO">Romania </option> <option value="RU">Russian Federation (the) </option> <option value="SK">Slovakia </option> <option value="ES">Spain </option> <option value="SE">Sweden </option> <option value="CH">Switzerland </option> <option value="TT">Trinidad and Tobago </option> <option value="GB">United Kingdom of Great Britain and N. </option> </select> </div> <div class="store filter2"> <input type="text" name="zip_code" id="addressInput" value="" placeholder="Zip Code" class="form-control"> </div> <div class="store filter2"> <select class="form-control" id="radiusSelect" name="mile_type"> <option value="10">10 Miles</option> <option value="20">20 Miles</option> <option value="50">50 Miles</option> </select> </div> <div class="store"><button type="submit" onclick="searchLocations() " class="btn btn-primary login-btn">Submit</button></div> </div> </div> </div> </div> <div class="row"> <div class="col-12 px-0 store_flex" > <div class="store-map-box" > <div class="store-map-box-scroll" > <span class="main-headsing-address">Stores</span> <ul class="search-address-ul" id="locationSelect"> <li>Fetching Stores..!</li> </ul> </div> </div> <div class="google-map" id="map" style="width: 100%;"> </div> </div> <div class="col-12 col-xl-9 store-map-right pl-0"> </div> </div> <!----------- |
| 27 |
Error
On line 446, column 9 <!-----------------------------> <script> var center = {lat: 34.0390, lng: -118.2673}; /* When the user clicks on the button, toggle between hiding and showing the dropdown content */ function myFunction() { document.getElementById("myDropdown").classList.toggle("show"); } // Close the dropdown if the user clicks outside of it window.onclick = function(event) { if (!event.target.matches('.dropbtn')) { var dropdowns = document.getElementsByClassName("dropdown-content"); var i; for (i = 0; i < dropdowns.length; i++) { var openDropdown = dropdowns[i]; if (openDropdown.classList.contains('show')) { openDropdown.classList.remove('show'); } } } } /**google map */ var map; var markers = []; var infoWindow; var locationSelect; function initMap(newCenter=false) { if(newCenter!=false){ center=newCenter; } map = new google.maps.Map(document.getElementById('map'), { center: center, zoom: 12, mapTypeId: 'terrain',//google.maps.MapTypeId.HYBRID, mapTypeControlOptions: {style: google.maps.MapTypeControlStyle.DROPDOWN_MENU} }); infoWindow = new google.maps.InfoWindow(); // searchButton = document.getElementById("searchButton").onclick = searchLocations; locationSelect = document.getElementById("locationSelect"); locationSelect.onchange = function() { var markerNum = locationSelect.options[locationSelect.selectedIndex].value; if (markerNum != "none"){ google.maps.event.trigger(markers[markerNum], 'click'); } }; } $(document).on('click', '#locationSelect li', function(){ let id = $(this).index(); google.maps.event.trigger(markers[id], 'click'); }); function clearLocations() { infoWindow.close(); for (var i = 0; i < markers.length; i++) { markers[i].setMap(null); } markers.length = 0; locationSelect = document.getElementById("locationSelect"); locationSelect.innerHTML = ""; } function createOption(id, name, distance, phone, address,city,zip,country,state) { option='<li><span class="w-100 searched-heading d-block" data-id="'+id+'">'+name+'</span><span class="searched-address">'+address+'<br/> '+city+', '+state+', '+zip+'<br/>'+country+'<br/>'+phone+'</span></li>'; $('#locationSelect').append(option); } function createMarker(latlng, name, address, phone ,city,zip,country,state) { var html = '<div class="address-bar"><div class="near-me">Dress Shops Near Me</div><div class="home-address"><img src="https://glscollective.com/wp-content/themes/gls/images/home-icon-black.svg"> &nbsp;'+name+'</div><div class="phone-number"><img src="https://glscollective.com/wp-content/themes/gls/images/phone-icon-black.svg"> &nbsp;'+phone+'</div><div class="city-state"><img src="https://glscollective.com/wp-content/themes/gls/images/state.svg"> &nbsp;'+address+', &nbsp;'+city+', &nbsp;'+state+', &nbsp;'+zip+', &nbsp;'+country+'</div></div>'; var marker = new google.maps.Marker({ map: map, position: latlng, icon: "https://glscollective.com/wp-content/themes/gls/images/black-pin-icon.svg", }); google.maps.event.addListener(marker, 'click', function() { infoWindow.setContent(html); infoWindow.open(map, marker); updateicon(marker); }); markers.push(marker); } function updateicon(marker){ $(markers).each(function(index, value){ markers[index].setIcon('https://glscollective.com/wp-content/themes/gls/images/black-pin-icon.svg'); }) marker.setIcon('https://glscollective.com/wp-content/themes/gls/images/orange-pin-icon.svg'); } function searchLocationsNear(center, userloc=false) { clearLocations(); var radius = document.getElementById('radiusSelect').value; var country = document.getElementById('countryid').value; var zipcodeValue = document.getElementById('addressInput').value; if(zipcodeValue == '' && country == '' ){ radius = 50; } if(userloc==false){ var searchUrl = "https://glscollective.com/wp-admin/admin-ajax.php?action=getXmlData&lat=" + center.lat() + "&lng=" + center.lng() + "&radius=" + radius+"&country="+country; }else{ var searchUrl = "https://glscollective.com/wp-admin/admin-ajax.php?action=getXmlData&lat=" + userloc.lat + "&lng=" + userloc.lng + "&radius=" + radius+"&country="+country; } downloadUrl(searchUrl, function(data) { var xml = parseXml(data); var markerNodes = xml.documentElement.getElementsByTagName("marker"); var bounds = new google.maps.LatLngBounds(); for (var i = 0; i < markerNodes.length; i++) { var id = markerNodes[i].getAttribute("id"); var name = markerNodes[i].getAttribute("name"); var phone = markerNodes[i].getAttribute("phone"); var address = markerNodes[i].getAttribute("address"); var city = markerNodes[i].getAttribute("city"); var state = markerNodes[i].getAttribute("state"); var zip = markerNodes[i].getAttribute("zip"); var country = markerNodes[i].getAttribute("country"); var address = markerNodes[i].getAttribute("address"); var distance = parseFloat(markerNodes[i].getAttribute("distance")); var latlng = new google.maps.LatLng( parseFloat(markerNodes[i].getAttribute("lat")), parseFloat(markerNodes[i].getAttribute("lng"))); createOption(id, name, distance, phone, address,city,zip,country,state); createMarker(latlng, name, address, phone ,city,zip,country,state); bounds.extend(latlng); $('#locationSelect li:first').trigger('click' ); } map.fitBounds(bounds); if(markerNodes.length == 0){ $('#locationSelect').append('<li>No store found near this location try to search some other location.</li>'); if(userloc == false) initMap(center); else initMap(userloc); } }); } function downloadUrl(url,callback) { var request = window.ActiveXObject ? new ActiveXObject('Microsoft.XMLHTTP') : new XMLHttpRequest; request.onreadystatechange = function() { if (request.readyState == 4) { // request.onreadystatechange = doNothing; callback(request.responseText, request.status); } }; request.open('GET', url, true); request.send(null); } function parseXml(str) { if (window.ActiveXObject) { var doc = new ActiveXObject('Microsoft.XMLDOM'); doc.loadXML(str); return doc; } else if (window.DOMParser) { return (new DOMParser).parseFromString(str, 'text/xml'); } } function searchLocations() { var address = document.getElementById("addressInput").value; var country = document.getElementById("countryid").value; if(country == 'US' && address==''){ alert('Zip/Postal code is required.') }else{ var geocoder = new google.maps.Geocoder(); if(country == ''){ var searchFormate = { address: address } }else{ var searchFormate = { address: address,componentRestrictions: { country: country }, } } geocoder.geocode(searchFormate, function(results, status) { if (status == google.maps.GeocoderStatus.OK) { $(results.address_components).each(function(key, value){ console.log(value); }); searchLocationsNear(results[0].geometry.location); } else { alert(address + ' not found'); } }); } } function getLocation() { if (navigator.geolocation) { navigator.geolocation.getCurrentPosition(showPosition,geoError); } else { alert("Geolocation is not supported by this browser."); } } function showPosition(position) { center = {lat: position.coords.latitude, lng: position.coords.longitude}; searchLocationsNear(false, center); } var geoError = function(error) { $('#addressInput').val('90015'); $('#countryid').val('US'); $('.store-map-box').hide(); searchLocations() ; }; setTimeout(function(){ getLocation() ; // },1000); function getCountryCode(latlngresponse){ var geocoder = new google.maps.Geocoder(); geocoder.geocode({'latLng': latlngresponse}, function(results, status) { if (status == google.maps.GeocoderStatus.OK) { if (results[0]) { var loc = getCountry(results); } } }); } function getCountry(results) { for (var i = 0; i < results[0].address_components.length; i++) { var shortname = results[0].address_components[i].short_name; var longname = results[0].address_components[i].long_name; var type = results[0].address_components[i].types; if (type.indexOf("country") != -1) { if (!isNullOrWhitespace(shortname)) { return shortname; } else { return longname; } } } } function isNullOrWhitespace(text) { if (text == null) { return true; } return text.replace(/\s/gi, '').length < 1; } $(document).on('change', '#countryid', function(){ $('#addressInput').val(''); if($(this).val() == 'US'){ $('.store-map-box').hide(); $('.filter2').show(); }else{ $('.store-map-box').show(); $('.filter2').hide(); searchLocations(); } }); </script> <script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCVB-GhG4HpH2NuHmcWV2dfVvY4W66zTFw&callback=initMap"> </script> <style> /* Always set the map height explicitly to define the size of the div * element that contains the map. */ #map { width: 100%; height: calc(100vh - 100px); position: relative; overflow: hidden; flex: 1; } /* Optional: Makes the sample page fill the window. */ html, body { height: 100%; margin: 0; padding: 0; } .store_flex { display: flex; height: calc(100vh - 100%); } .store-map-box { overflow-y: auto; min-width: 380px; width: 380px; height: calc(100vh - 100px); } </style> </body> </h |
| 28 |
Error
On line 34, column 31 ad> <body> <div class="container-fluid"> |
| 29 |
Error
On line 3, column 40 tive.com/?p=156>; rel= |
| 30 |
Error
On line 2, column 57 v2/pages/156>; rel= |
| 31 |
Error
On line 1, column 36 tive.com/wp-json/>; rel= |
| 32 |
Error
On line 1, column 36 tive.com/wp-json/>; rel= |
| 33 |
Error
On line 1, column 36 tive.com/wp-json/>; rel= |
| 34 |
Error
On line 18, column 80 ive" /> <link rel="canonical" href="https://glscollective.com/dress-store-locator/" /> <li |
| 35 |
Error
On line 23, column 94 sheet"> <link rel="alternate" href="https://glscollective.com/dress-store-locator/" hreflang="en" /> <li |
| 36 |
Error
On line 24, column 104 "en" /> <link rel="alternate" href="https://glscollective.com/espanol/offline-store-espanol/" hreflang="es" /> |
| 37 |
Error
On line 41, column 188 tive.com"><img class="img-fluid" src="https://glscollective.com/wp-content/themes/gls/images/logo.png"></a><s |
β