I have a webpage with 2 iframes, 1 underneath the other. I would like both iframes hidden when a user first clicks on the webpage. There will be 2 buttons, 1 above each ifra
To show or hide iframes:
document.getElementById("yourIFrameid").style.display = "none"; //hides the frame document.getElementById("yourIFrameid").style.display = "block"; //shows the frame