PDA

View Full Version : History Back



WLLove
12-06-2006, 09:42 PM
Hello,

Is there a way to use the history back script to go back multiple pages. I've tried what I thought would work but it doesn't.

Thanks,
WLLove

djr33
12-07-2006, 03:32 AM
I believe that changing the number in parentheses from "-1" to "-2" would work. I haven't tried this, and it might also not relate to the exact code that you are using.
Please post the code for us.

thetestingsite
12-07-2006, 04:15 AM
I believe that changing the number in parentheses from "-1" to "-2" would work. I haven't tried this, and it might also not relate to the exact code that you are using.
Please post the code for us.

I just recently tried this, and it did not work. All it did was take me back to the last place in the history. I have also tried different variations of the history.back() function [ex: history.back(2) and history.back(-2)] with no luck.

johnquil
12-07-2006, 01:09 PM
Use history.go(-1) for back 1 in history, (-2) for back 2 etc.