Click to See Complete Forum and Search --> : back button with frames not working


netmerchants
02-01-2004, 10:54 PM
I have placed a back and forward buttons in a framed web page and it seems to work fine except it won't go back to the first page. The code looks like this:

<a href="" onclick="history.go(-1); return false;"><IMG src="images/back.png" border="0"></a>

<a href="" onclick="history.go(+1); return false;"><IMG src="images/forward.png" border="0"></a>

To see the sample go to http://69.57.169.16/~freespot/maxtest3.htm and click on the test link towards the bottom and click through a few more links, then go back. You will see it doesn't make it all the way back to the first page, just to the second page. Any ideas. I have tried using the parent.main.history.go and can't get that to work at all, errors out. Thanks for any help.