-jesse-
09-24-2008, 10:39 AM
Hello,
I use javascript to create an iframe (see code below). I absolutely don't want any scrollbars to show. The below script manages this perfectly in firefox. However, in internet explorer I still get the scrollbars. Does anyone know a solution for this? It's been driving me crazy. Any help would be appreciated.
code:
ifrm = document.createElement("IFRAME");
ifrm.src="calculator.htm";
ifrm.style.width = 280+"px";
ifrm.style.height = 180+"px";
ifrm.style.border = "0px";
ifrm.style.overflow="hidden";
ifrm.className = "verborgen";
document.body.appendChild(ifrm);
I use javascript to create an iframe (see code below). I absolutely don't want any scrollbars to show. The below script manages this perfectly in firefox. However, in internet explorer I still get the scrollbars. Does anyone know a solution for this? It's been driving me crazy. Any help would be appreciated.
code:
ifrm = document.createElement("IFRAME");
ifrm.src="calculator.htm";
ifrm.style.width = 280+"px";
ifrm.style.height = 180+"px";
ifrm.style.border = "0px";
ifrm.style.overflow="hidden";
ifrm.className = "verborgen";
document.body.appendChild(ifrm);