Trouble with the frames.history.go function

admin

Administrator
Staff member
Alright, I've been trying to do this for a while now...

for my site, I have frames. However, people often get linked to individual pages that would normally be inside a frameset, and I want them to be able to navigate the site from there. So I make it link to a page I named "addframes.html", the hyperlink text saying "don't see frames? click here". It links to a frameset, with the right frame's name is "back.html"

Here comes the javascript part. On back.html, I have

<body onLoad="frame.history.go(-1,_self)">

For some reason, it either won't work half the time, or the other half it goes back, not keepoing either frame, as if I'd given it a target=_top function.

Any simpler way to do this?
 
Back
Top