Colroado state parks: Lone Mesa
function subscribeSuccess() {
var nsltrform = document.querySelector(“#nsltr”);
var nsltrSuccess = document.querySelector(“#successnsltr”);
nsltrform.classList.add(“hideblock”);
nsltrSuccess.classList.remove(“hideblock”);
}
function validateEmail(email) {
return String(email)
.toLowerCase()
.match(
/^(([^()[].,;:s@”]+(.[^()[].,;:s@”]+)*)|(“.+”))@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}])|(([a-zA-Z-0-9]+.)+[a-zA-Z]{2,}))$/
);
}
function validateEmailAddress() {
const result = document.querySelector(“#result”);
const email = document.querySelector(“#email”).value;
result.innerText = “”;
if(validateEmail(email)) {
newsletterSubscribe(email);
} else {
result.innerText = ‘The email entered: ‘ + email + ‘ is not valid :(‘;
result.style.color = “red”;
}
return false;
}
function newsletterSubscribe(email) {
fetch(“https://services.gazette.com/mg2-newsletters.php?action=subscribe&site=denvergazette.com&emailPreferenceId=60&email=” + email, {
method: “POST”
}).then(res => {
console.log(“SUCCESSFUL POST”);
subscribeSuccess();
});
}
#nsltr {
min-width: 100%;
margin: 10px 0;
padding: 10px 20px;
background-color: #2076b3;
background-image: url(https://static.gazette.com/emails/circ/Audience%20Images/dg%20outdoors%20sign%20up.png);
background-size: cover;
}
#nsltr-header {
color: #fff4f4;
}
#nsltr-body {
text-align: center;
color: ;
}
#nsltr-button {
margin-top: 5px;
}
#successnsltr {
min-width: 100%;
margin: 10px 0;
padding: 10px 20px;
background-color: green;
text-align: center;
color: white;
}
#successnsltr a {
color: white;
}
.hideblock {
display:none;
}
h6 a {
color: black;
text-decoration: none;
padding: 5px;
background-color: #bbccdd;
font-weight: 600;
}
@media only screen and (min-width: 768px) {
#nsltr {
background-image: url(https://static.gazette.com/emails/circ/Audience%20Images/dg%20outdoors%20sign%20up.png);
background-size: cover;
}
}
Featured Local Savings
Address: 1321 Railroad Ave., Dolores, 81323
Contact: 970-882-2213, lone.mesa@state.co.us
Hours: Closed to general public.
Directions: Head south on Interstate 25 and then exit at Walsenburg for U.S. 160 west. Follow to Colorado 184 west. Travel to Colorado 145 and then turn right and continue into Dolores. From town, take Forest Services Road 526 and then 514 to park.
SETH BOSTER, THE GAZETTE







