Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Mar 2008
    Location
    Brussels, Belgium
    Posts
    69
    Plugin Contributions
    0

    Default Back button for EZ Pages

    I have EZ Pages that are chained together , i.e. EZ Page#1 has a link to EZ Page#2. I would like to have one back button on each of these pages. The back button on EZ Page#2 should lead to EZ Page#1. The back button on EZ Page#1 should lead to the page from which it was called (i.e. the Home Page or another page, like the Contact Us page).

    Is there a way to do this?

    Can somebody provide me with a general code to implement this?
    Stated otherwise, is there a way to know, when on one a specific page, the id of the page from which we are coming?

    I know ZC works this way but I could not find the way to implement this.

    Thanks.

  2. #2
    Join Date
    Jan 2007
    Posts
    92
    Plugin Contributions
    2

    Default Re: Back button for EZ Pages

    Quote Originally Posted by tryphon View Post
    I have EZ Pages that are chained together , i.e. EZ Page#1 has a link to EZ Page#2. I would like to have one back button on each of these pages. The back button on EZ Page#2 should lead to EZ Page#1. The back button on EZ Page#1 should lead to the page from which it was called (i.e. the Home Page or another page, like the Contact Us page).

    Is there a way to do this?

    Can somebody provide me with a general code to implement this?
    Stated otherwise, is there a way to know, when on one a specific page, the id of the page from which we are coming?

    I know ZC works this way but I could not find the way to implement this.

    Thanks.
    A easy way to do this would be put this code in the EZ Page
    <form>
    <input type="button" onclick="history.go(-1)" name="GOBACK" value="Go Back" />
    </form>
    You can change the Value to say what ever you want on the button.

  3. #3
    Join Date
    Jan 2007
    Posts
    92
    Plugin Contributions
    2

    Default Re: Back button for EZ Pages

    If you want to be able to go back and forwards you can use this code in your EZ pages.
    Note this must be put in source mode.
    [FONT=Courier New]
    [FONT=Courier New]<FORM>
    <INPUT TYPE="BUTTON" NAME="GOBACK" VALUE="Go Back" OnClick="history.go(-1)">
    </FORM>

    <A HREF="javascript:history.go(-1)">Go back.</A>
    <A HREF="javascript:history.go(1)">Go forward.</A> [/FONT]
    [/FONT]

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Back button for EZ Pages

    Or, if you have multiple pages 'under' one main EZ page, you could code a button image using HTML with a direct path to the main EZ page.

  5. #5
    Join Date
    Mar 2008
    Location
    Brussels, Belgium
    Posts
    69
    Plugin Contributions
    0

    Default Re: Back button for EZ Pages

    Thanks to all for these suggestions.

 

 

Similar Threads

  1. v150 Add back button to my EZ pages?
    By Phil020782 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 21 Aug 2012, 10:42 AM
  2. Hide back button in ez pages
    By samuelbarnaby in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 29 Apr 2011, 01:59 PM
  3. back button on default built in pages goto page not found
    By Drunkguy in forum General Questions
    Replies: 3
    Last Post: 6 Apr 2011, 09:54 PM
  4. Back button for product pages
    By Scarlet in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 17 Apr 2007, 02:12 AM
  5. back button - want to add one to more pages like prod listing
    By mex in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 15 Mar 2007, 11:46 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg