This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > FrontPage Programming > May 2007 > 1 page history return
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
1 page history return
|
|
| Mary Hartman 2007-05-14, 6:16 pm |
|
Using FrontPage 2003
I am trying to create a button on a template that when clicked will
bring the client back to the previous page.
I know this must be a commun routine, but I can't seem to find the
instructions.
Could someone help please?
| |
|
| <script type="text/javascript">
document.write('<a href="java script:history.go(-1)">Previous Page</a>');
</script>
The words Previous Page can be replaced with text of your choice,
or by an image. Example:
<img src="images/back.gif" alt="previous page" width="50" height="19">
Javascript is used to write the link into the page so that users with
javascript disabled will not see a non-functioning button.
Also, FrontPage will not change the relative path to the image if the
page is moved into another folder.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
FrontPage Support: http://www.frontpagemvps.com/
http://www.rxs-enterprises.org/fp
"Mary Hartman" <MaryHartman@TVLand.wish> wrote in message
news:s9ug43h9ald8d9738hi7cf9en6gbkuj8t2@4ax.com:
> Using FrontPage 2003
>
> I am trying to create a button on a template that when clicked will
> bring the client back to the previous page.
>
> I know this must be a commun routine, but I can't seem to find the
> instructions.
>
> Could someone help please?
| |
| Mary Hartman 2007-05-14, 6:16 pm |
| Thank you.
On Mon, 14 May 2007 15:49:13 +0000, "Ronx" <ronx917@hotmail.com>
wrote:
><script type="text/javascript">
>document.write('<a href="java script:history.go(-1)">Previous Page</a>');
></script>
>
>The words Previous Page can be replaced with text of your choice,
>or by an image. Example:
><img src="images/back.gif" alt="previous page" width="50" height="19">
>
>
>Javascript is used to write the link into the page so that users with
>javascript disabled will not see a non-functioning button.
>
>Also, FrontPage will not change the relative path to the image if the
>page is moved into another folder.
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|