How I can that? I use the following script:
function adjustFrame(){

window.frames.IFrame1.scrollBy(0,250);
currTop = window.frames.IFrame1.document.body.scrollHeight;
if (currTop > 0)
{
currHeight =
document.getElementById('dynFrame').getAttribute('height');
currHeight++;
document.getElementById('dynFrame').setAttribute('height',currHeight);
adjustFrame();
}
}

but the IE show error "Access Denied"....

Re: resize IFrames by mayayana

mayayana
Mon Oct 22 14:55:47 PDT 2007

You're asking about a DHTML javascript problem.
What has that got to do with VBScript?

Also, you should really avoid IFRAMES if possible.
They've been the source of numerous cross-site
scripting vulnerabilities, and have been pretty
much made obsolete by using CSS scrolling properties
with DIVs. The main use of IFRAMES currently is
by advertisers trying to get around the ability of non-IE
browsers to block 3rd-party images from loading. Consequently,
IFRAMES are increasingly being blocked. (I haven't enabled
IFRAMES in Firefox for years.)

> How I can that? I use the following script:
> function adjustFrame(){
>
> window.frames.IFrame1.scrollBy(0,250);
> currTop = window.frames.IFrame1.document.body.scrollHeight;
> if (currTop > 0)
> {
> currHeight =
> document.getElementById('dynFrame').getAttribute('height');
> currHeight++;
>
document.getElementById('dynFrame').setAttribute('height',currHeight);
> adjustFrame();
> }
> }
>
> but the IE show error "Access Denied"....
>