PC Review


Reply
Thread Tools Rate Thread

Previous Page

 
 
John Prescott
Guest
Posts: n/a
 
      20th Jun 2005
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: (E-Mail Removed) website <http://www.oursite.co.uk>

 
Reply With Quote
 
 
 
 
=?Utf-8?B?RGFuIEw=?=
Guest
Posts: n/a
 
      20th Jun 2005
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: (E-Mail Removed) website <http://www.oursite.co.uk>
>
>

 
Reply With Quote
 
Tom J
Guest
Posts: n/a
 
      20th Jun 2005

"John Prescott" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
 
Wally S
Guest
Posts: n/a
 
      21st Jun 2005
<a href="javascript:window.close()">Back</a>

You can change "back" to any label you want.

Wally S

"John Prescott" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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: (E-Mail Removed) website <http://www.oursite.co.uk>
>



 
Reply With Quote
 
Andrew Murray
Guest
Posts: n/a
 
      21st Jun 2005
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> <a href="javascript:window.close()">Back</a>
>
> You can change "back" to any label you want.
>
> Wally S
>
> "John Prescott" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> 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: (E-Mail Removed) website <http://www.oursite.co.uk>
>>

>
>



 
Reply With Quote
 
=?Utf-8?B?U3RlcGhlbg==?=
Guest
Posts: n/a
 
      28th Jun 2005
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: (E-Mail Removed) website <http://www.oursite.co.uk>
>
>

 
Reply With Quote
 
Trevor L.
Guest
Posts: n/a
 
      28th Jun 2005
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: (E-Mail Removed) website <http://www.oursite.co.uk>



I choose Polesoft Lockspam to fight spam, and you?
http://www.polesoft.com/refer.html


 
Reply With Quote
 
=?Utf-8?B?U3RlcGhlbg==?=
Guest
Posts: n/a
 
      28th Jun 2005
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: (E-Mail Removed) 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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Page Breaking Shaded Headings Leaves Artifact on Previous Page mglmstr Microsoft Word Document Management 3 21st Jan 2009 11:36 AM
word 2003 footer page xofy reset to page 1 with same as previous Cherylann Microsoft Word Document Management 1 5th Mar 2008 04:55 PM
Cross Page Posting using public property on previous page =?Utf-8?B?dGhlV2l6YXJkMQ==?= Microsoft ASP .NET 2 20th Apr 2006 10:27 PM
view state in previous page using cross page postback bill Microsoft ASP .NET 6 17th Feb 2006 09:32 PM
Issues with navigating to previous page and keeping custom page properties available Greg Krzeszkowski Microsoft ASP .NET 3 3rd Mar 2005 05:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:01 PM.