javascript thread: window.history.
Thanks Israel,
but that's exactly the way I call the history object of the frame I want.
The problem is that while in Netscape or Explorer5.0 it runs ok, in IExplorer5.5 when I call
parent.framename.history.go(-1) it acts exactly as if the user clicked on the back button in the
navigation toolbar, modifying the content of the last changed frame.
You can test what I'm saying at
http://62.81.187.140/historytest/index.html
There, I've placed a three-frames page. Frame #1 and Frame #2 can switch between black
and white color pages while the third, the bottom one, shows you two links to browse
backwards and forwards in the history of Frame #2. (You can see the JavaScript call at the
status bar).
If you try it on IE5.5 you'll see the problem.
Thanks for your patience (and time)
Fabpups
> If you are using the history object in frames, try.....
> parent.framename.history.go(-1) or parent.framename.history.back()
>
> -----Original Message-----
> From: Fabpup [mailto:fabpups@h...]
> Sent: Thursday, June 28, 2001 2:35 PM
> To: javascript
> Subject: [javascript] window.history.
>
>
> Hi friends,
>
> I'm having some problems with the window.history object in IE5.5.
>
> In NS4 and IE4 or even IE5.0 the window.history object behaves the way
all
> the documentation I've read says it has to behave, I mean, the history
> object its related whith a window or a frame and its back,forward or go
> methods allows you to browse within the history of that frame (or
window).
>
> In IE5.5 when I call a back() method, no matter which frame history
object
> I am invoking, the browser always refreshes the last modified frame as if
> the history object was a browser object instead of a window one.
>
> How can I browse within the history of a particular frame, just the way I
> do in NS or previous versions of IE?
>
> Thanks and regards,
>
> Fabpup