PDA

View Full Version : 'back two pages' link - how to?


celebritymusic
08-20-2004, 09:35 PM
Hi

I need a link that sends the user back two pages in their history as opposed to one when it is clicked.

Can this be done?

Thanks!

Midge

Mr J
08-22-2004, 03:33 PM
Try


history.go(-2)

mathew wise
08-23-2004, 10:19 AM
where would you put that and what other code would you need...

AaronCampbell
08-23-2004, 10:32 AM
make a link like this:<a href="javascript:history.go(-2)">Back 2 Pages</a>
***This Bulletin Board adds a space to the word javascript in the code above. Make sure to remove the space.

mathew wise
08-23-2004, 10:55 AM
cheers;) is this the same for more backs...

Mr J
08-23-2004, 12:27 PM
As far as your history allows :D