PC Review Forums Newsgroups Microsoft Word Microsoft Frontpage Previous Page

Reply

Previous Page

 
Thread Tools Rate Thread
Old 20-06-2005, 04:24 PM   #1
John Prescott
Guest
 
Posts: n/a
Default Previous Page


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>

  Reply With Quote
Old 20-06-2005, 06:04 PM   #2
=?Utf-8?B?RGFuIEw=?=
Guest
 
Posts: n/a
Default RE: Previous Page

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>
>
>

  Reply With Quote
Old 20-06-2005, 06:51 PM   #3
Tom J
Guest
 
Posts: n/a
Default Re: Previous Page


"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


  Reply With Quote
Old 21-06-2005, 12:32 AM   #4
Wally S
Guest
 
Posts: n/a
Default Re: Previous Page

<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>
>



  Reply With Quote
Old 21-06-2005, 01:02 AM   #5
Andrew Murray
Guest
 
Posts: n/a
Default Re: Previous Page

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>
>>

>
>



  Reply With Quote
Old 28-06-2005, 01:10 AM   #6
=?Utf-8?B?U3RlcGhlbg==?=
Guest
 
Posts: n/a
Default RE: Previous Page

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>
>
>

  Reply With Quote
Old 28-06-2005, 03:42 AM   #7
Trevor L.
Guest
 
Posts: n/a
Default Re: Previous Page

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


  Reply With Quote
Old 28-06-2005, 09:28 PM   #8
=?Utf-8?B?U3RlcGhlbg==?=
Guest
 
Posts: n/a
Default RE: Previous Page

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>
>
>

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off