Line 9: | Line 9: | ||
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 = (window.innerHeight-contentHeight) + 'px'; | + | ifrm.style.height = (window.innerHeight-contentHeight-20) + 'px'; |
document.body.appendChild(ifrm); | document.body.appendChild(ifrm); | ||
}); | }); |
Revision as of 15:48, 20 August 2016