// element that closes the modal
var span = document.getElementsByClassName("close")[0];
// When the user clicks the button, open the modal
btn.onclick = function() {
modal.style.display = "block";
}
// When the user clicks on (x), close the modal
span.onclick = function() {
modal.style.display = "none";
}
// When the user clicks anywhere outside of the modal, close it
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
}
}
// ]]>
100% Polyester Sweatband
Teardrop Crown
Shallow Crown
Elastic Cord with Plastic Closure
Brass Tips
Made in Mexico
100% Premium Tripilla Palm Straw
Avoid full water submersion
Do not crush, fold or bend your hat.
Avoid packing in a suitcase.
S/M: 58-59cm (7 1/8)
L/XL: 61-62cm (7 1/2)
// element that closes the modal
var span = document.getElementsByClassName("close")[0];
// When the user clicks the button, open the modal
btn.onclick = function() {
modal.style.display = "block";
}
// When the user clicks on (x), close the modal
span.onclick = function() {
modal.style.display = "none";
}
// When the user clicks anywhere outside of the modal, close it
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
}
}
// ]]>
Rock/Creek is a Chattanooga, Tennessee-based sporting goods retailer of clothing and gear for rock climbing, paddling, trail running, hiking, camping and travel.