PC Review
Forums
Newsgroups
Microsoft Word
Microsoft Frontpage
Previous Page
Forums
Newsgroups
Microsoft Word
Microsoft Frontpage
Previous Page
![]() |
Previous Page |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
How can I give the user the facility to go back to the previous page
without having to ask him to press the back button Regards, John Prescott Paymaster Systems Ltd, Moorlands House, Oldfield Road, Bromley, Kent. BR1 2LE TEL: 020 8467 6107 FAX: 020 8467 6121 e-mail: paymaster@btclick.com website <http://www.oursite.co.uk> |
|
|
|
#2 |
|
Guest
Posts: n/a
|
In code view, where you want the button, insert:
<FORM> <INPUT TYPE="button" VALUE="Back" onClick="history.go(-1)"> </FORM> "John Prescott" wrote: > How can I give the user the facility to go back to the previous page > without having to ask him to press the back button > > Regards, John Prescott > > Paymaster Systems Ltd, > Moorlands House, Oldfield Road, Bromley, Kent. BR1 2LE > TEL: 020 8467 6107 FAX: 020 8467 6121 > e-mail: paymaster@btclick.com website <http://www.oursite.co.uk> > > |
|
|
|
#3 |
|
Guest
Posts: n/a
|
"John Prescott" <paymaster@btclick.com> wrote in message news:djndb19ki1ss8hiac7djik9ak2b76qiqor@4ax.com... > How can I give the user the facility to go back to the previous page > without having to ask him to press the back button <p align="center"><button type="button" onclick="history.go(-1)"><font color="#0000FF">Go Back</font></button> That's the way I do it.Tom J |
|
|
|
#4 |
|
Guest
Posts: n/a
|
<a href="javascript:window.close()">Back</a>
You can change "back" to any label you want. Wally S "John Prescott" <paymaster@btclick.com> wrote in message news:djndb19ki1ss8hiac7djik9ak2b76qiqor@4ax.com... > How can I give the user the facility to go back to the previous page > without having to ask him to press the back button > > Regards, John Prescott > > Paymaster Systems Ltd, > Moorlands House, Oldfield Road, Bromley, Kent. BR1 2LE > TEL: 020 8467 6107 FAX: 020 8467 6121 > e-mail: paymaster@btclick.com website <http://www.oursite.co.uk> > |
|
|
|
#5 |
|
Guest
Posts: n/a
|
the code below closes a window; not return to the previous page....and not
what the OP was asking. If only one browser window is open it will close that browser session. "Wally S" <hiwally@earthlink.net> wrote in message news:ehI9PiedFHA.3452@TK2MSFTNGP10.phx.gbl... > <a href="javascript:window.close()">Back</a> > > You can change "back" to any label you want. > > Wally S > > "John Prescott" <paymaster@btclick.com> wrote in message > news:djndb19ki1ss8hiac7djik9ak2b76qiqor@4ax.com... >> How can I give the user the facility to go back to the previous page >> without having to ask him to press the back button >> >> Regards, John Prescott >> >> Paymaster Systems Ltd, >> Moorlands House, Oldfield Road, Bromley, Kent. BR1 2LE >> TEL: 020 8467 6107 FAX: 020 8467 6121 >> e-mail: paymaster@btclick.com website <http://www.oursite.co.uk> >> > > |
|
|
|
#6 |
|
Guest
Posts: n/a
|
Here is the code: <a href="#" onClick="history.go(-1)">Back</a>
-- Legolas Greenleaf, Tree Elf "John Prescott" wrote: > How can I give the user the facility to go back to the previous page > without having to ask him to press the back button > > Regards, John Prescott > > Paymaster Systems Ltd, > Moorlands House, Oldfield Road, Bromley, Kent. BR1 2LE > TEL: 020 8467 6107 FAX: 020 8467 6121 > e-mail: paymaster@btclick.com website <http://www.oursite.co.uk> > > |
|
|
|
#7 |
|
Guest
Posts: n/a
|
Or you can use this
<input type="button" value="Go Back" onclick="history.back()"> I actually use both - not for any real reason, except that in one case I find onClick="history.go(-2)" useful -- Cheers, Trevor L., WIP (Web Interested Person) Website: http://tandcl.homemail.com.au Stephen wrote: > Here is the code: <a href="#" onClick="history.go(-1)">Back</a> > > -- > Legolas Greenleaf, Tree Elf > > > "John Prescott" wrote: > >> How can I give the user the facility to go back to the previous page >> without having to ask him to press the back button >> >> Regards, John Prescott >> >> Paymaster Systems Ltd, >> Moorlands House, Oldfield Road, Bromley, Kent. BR1 2LE >> TEL: 020 8467 6107 FAX: 020 8467 6121 >> e-mail: paymaster@btclick.com website <http://www.oursite.co.uk> I choose Polesoft Lockspam to fight spam, and you? http://www.polesoft.com/refer.html |
|
|
|
#8 |
|
Guest
Posts: n/a
|
I just found out that:
<a href="#" onClick="history.go(-1)">Back</a> Makes you go back and <a href="#" onClick="history.go(1)">Forward</a> Makes you go forward. If these helped you, click on the post that answered your question and at the bottum It wil say 'Did this answer your question?' then click yes. -- Legolas Greenleaf, Tree Elf "John Prescott" wrote: > How can I give the user the facility to go back to the previous page > without having to ask him to press the back button > > Regards, John Prescott > > Paymaster Systems Ltd, > Moorlands House, Oldfield Road, Bromley, Kent. BR1 2LE > TEL: 020 8467 6107 FAX: 020 8467 6121 > e-mail: paymaster@btclick.com website <http://www.oursite.co.uk> > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

