Line 6: | Line 6: | ||
ifrm.setAttribute("src", "http://igemtelhai.wixsite.com/telhaiigem"); | ifrm.setAttribute("src", "http://igemtelhai.wixsite.com/telhaiigem"); | ||
ifrm.style.width = "100%"; | ifrm.style.width = "100%"; | ||
− | ifrm.style.height = | + | ifrm.style.height = window.innerHeight + 'px'; |
document.body.appendChild(ifrm); | document.body.appendChild(ifrm); | ||
− | alert( | + | alert(window.innerHeight); |
}); | }); | ||
</script> | </script> |
Revision as of 15:06, 20 August 2016