ive seen a script before where its just like hitting the back button, i think its something like 'history.goBack(-1)' not sure, can anyone help me?
Javascript Questionhistory.boBack(-1)
Page 1 of 1
5 Replies - 5309 Views - Last Post: 16 July 2002 - 09:08 AM
Replies To: Javascript Question
#2
Re: Javascript Question
Posted 16 July 2002 - 05:15 AM
Yeah the code is:
You could add it to a link:
history.go(-1)
You could add it to a link:
<a href="#" onclick="history.go(-1)">Back or <img src="backbutton.gif"></a>
#4
Re: Javascript Question
Posted 16 July 2002 - 07:41 AM
or you can put it right in the href:
:)
<a href="javascript:history.back(1)">
:)
#5
Re: Javascript Question
Posted 16 July 2002 - 08:24 AM
sweet, thanks again for helpin out a newbie
#6
Re: Javascript Question
Posted 16 July 2002 - 09:08 AM
what happens if there's no number in between the parenthesis?
Page 1 of 1
|
|

New Topic/Question
Reply


MultiQuote




|