Steve's Real Estate Listings

1
#myDIV { display: none; width: 100%; padding: 5px 0; text-align: left; background-color: white; margin-top: 5px; } .ezm_sbox_container { background-color: #f1f1f1; padding: 20px; margin: 0; } window.addEventListener("DOMContentLoaded",function(){ var node=document.getElementById("myButton"); node.addEventListener("click",function(e){ var node=document.getElementById("myDIV"); var display=window.getComputedStyle(node).getPropertyValue("display"); if(display=="none"){ node.style.display="block"; } else { node.style.display="none"; } }); });