Forum Moderators: phranque
<a href="" onClick="parent.history.back(); return false;"
onMouseOver="self.status='Back'; return true;">
I need to get the script to use it for the forward button, but I am not sure if this can be done.
Anyone able to give me a hand?
Go back 1 page - javascript:history.back()
or - javascript:history.go(-1)
back two pages - javascript:history.go(-2)
Go forward 1 page - javascript:history.go(1)
or try - javascript:history.forward()
If I'm remembering half of that correctly, something along those lines should work. ;) But don't forget to check everything in more than one browser (I haven't got the time at the moment, but one of them might not work in NN 4.x)
(edited by: mivox at 5:55 pm (gmt) on July 24, 2001
Please keep in mind I'm writing this off the top of my head while doing three other things at the same time, so don't roast me too badly if my feeble memory fails me. :)
<edit>the Typo Queen strikes again...</edit>