TheInsider
Programmer
Hello,
I am having a similar problem to the one indicated in the following thread: thread216-290699.
I have a frameset page with 3 frames defined. The first frame contains anchor tags/links which, when clicked, load the corresponding html page into the second frame
i.e.
The third frame has a button that, when clicked, reads the scrollTop value from the second frame.
i.e.
Unfortunately there seems to be a refresh bug in Internet Explorer 6. When I select a link from frame 1 and load it into frame 2, when the code is executed in frame 3, scrollTop equals 0, no matter where the scrollbar is or how far down the page is scrolled in frame 2.
If I hit the "Refresh" button on the IE toolbar, scrollTop magically starts behaving itself and returns the correct value.
Is there a work-around or fix for this? I've spent a good deal of time working on this and I don't want to scrap it. My Netscape counterpart code works perfectly.
Thank you,
TheInsider
I am having a similar problem to the one indicated in the following thread: thread216-290699.
I have a frameset page with 3 frames defined. The first frame contains anchor tags/links which, when clicked, load the corresponding html page into the second frame
i.e.
Code:
<a href="hello.htm" target="myframe2">hello</a>
The third frame has a button that, when clicked, reads the scrollTop value from the second frame.
i.e.
Code:
myvar = parent.myframe2.document.body.scrollTop;
Unfortunately there seems to be a refresh bug in Internet Explorer 6. When I select a link from frame 1 and load it into frame 2, when the code is executed in frame 3, scrollTop equals 0, no matter where the scrollbar is or how far down the page is scrolled in frame 2.
If I hit the "Refresh" button on the IE toolbar, scrollTop magically starts behaving itself and returns the correct value.
Is there a work-around or fix for this? I've spent a good deal of time working on this and I don't want to scrap it. My Netscape counterpart code works perfectly.
Thank you,
TheInsider