Use the following JavaScript in your iframe tag as
<iframe onresize=reSize () id='ifrm' src='test.html' >
<SCRIPT LANGUAGE=javasc ript>
<!--
function reSize()
{
try{
var oBody = ifrm.document.b ody;
var oFrame = document.all("i frm");
oFrame.style.he ight = oBody.scrollHei ght + (oBody.offsetHe ight -
oBody.clientHei ght);
oFrame.style.wi dth = oBody.scrollWid th + (oBody.offsetWi dth -
oBody.clientWid th);
}
//An error is raised if the IFrame domain != its container's domain
catch(e)
{
window.status = 'Error: ' + e.number + '; ' + e.description;
}
}
//-->
</SCRIPT>
cheers,
Shailesh
"Paul Fi" <na*******@hotm ail.com> wrote in message
news:e9******** ******@TK2MSFTN GP09.phx.gbl...
i want the scrollbars of my aspx page to be the scrollbars of the iframe
i set inside the page
is that possible?
or is there any workaround on this issue?
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!