Line 5: | Line 5: | ||
var ifrm = document.createElement("iframe"); | var ifrm = document.createElement("iframe"); | ||
ifrm.setAttribute("src", "http://igemtelhai.wixsite.com/telhaiigem"); | ifrm.setAttribute("src", "http://igemtelhai.wixsite.com/telhaiigem"); | ||
− | ifrm.style.width = " | + | ifrm.style.width = "100%"; |
− | ifrm.style.height = | + | ifrm.style.height = document.documentElement.offsetHeight; |
document.body.appendChild(ifrm); | document.body.appendChild(ifrm); | ||
}); | }); |
Revision as of 15:03, 20 August 2016