BECOME


A


MYCO-WIZARD


TODAY



ROLLING DEEP DIVES ON COMMERCIAL MYCOLOGY!


USE CODE MYCO30 AT CHECKOUT 

FOR A 30 DAY FREE TRIAL

JOIN THE MYCOMADNESS

// Create a function to generate dropdown HTML function createDropdownHTML(options, id) { let dropdown = `'; return dropdown; } // KM Mushrooms dropdown options var kmDropdownOptions = [ { value: 'info', text: 'Learn More' }, { value: 'website', text: 'Visit Website' } ]; // KM Mushrooms marker with popup kmPin.bindPopup(`
KM Mushrooms

Santa Rosa, CA

${createDropdownHTML(kmDropdownOptions, 'kmDropdown')}
`); // Cap N Stem dropdown options var capNStemDropdownOptions = [ { value: 'info', text: 'Learn More' }, { value: 'website', text: 'Visit Website' } ]; // Cap N Stem marker with popup capNStemPin.bindPopup(`
Cap N Stem

Gardiner, ME

${createDropdownHTML(capNStemDropdownOptions, 'capNStemDropdown')}
`); // Cactus Hat dropdown options var lutzDropdownOptions = [ { value: 'info', text: 'Learn More' }, { value: 'website', text: 'Visit Website' } ]; // Lutz, FL marker with popup lutzPin.bindPopup(`
Cactus Hat

Lutz, FL

${createDropdownHTML(lutzDropdownOptions, 'lutzDropdown')}
`); // Event listeners for dropdown changes inside popups kmPin.on('popupopen', function () { document.getElementById('kmDropdown').addEventListener('change', function () { if (this.value === 'info') { alert("More information about KM Mushrooms!"); } else if (this.value === 'website') { window.open('https://kmmushrooms.com/', '_blank'); } }); }); capNStemPin.on('popupopen', function () { document.getElementById('capNStemDropdown').addEventListener('change', function () { if (this.value === 'info') { alert("More information about Cap N Stem!"); } else if (this.value === 'website') { window.open('https://www.capnstem.com/', '_blank'); } }); }); lutzPin.on('popupopen', function () { document.getElementById('lutzDropdown').addEventListener('change', function () { if (this.value === 'info') { alert("More information about Cactus Hat!"); } else if (this.value === 'website') { window.open('https://cactushatmushrooms.com/', '_blank'); } }); });

Get started for free now

Explore catalog

FREE WIZARDRY             FROM

  THE ARCHIVE 

Explore free catalog