Welcome to TalkGraphics.com
Results 1 to 10 of 17

Hybrid View

  1. #1
    Join Date
    Aug 2000
    Location
    Prince Edward Island, Canada --- The land of lawn tractors
    Posts
    5,389

    Default "Previous" doesn't function as 'back'...

    I've noticed that in setting up a button to jump to <previous page> the result is the button may not take you back to the actual previous page you were viewing.

    If your browsing takes you from page one directly to page four, then the <previous> action won't take you back to your actual previous page - page one - it will take you to page three. <Previous> and <Next> buttons do work as expected if you navigate the site sequentially -- from page 1 to 2 to 3 to 4 etc.

    Is there a way to have a 'previous' button that behaves like a browser 'back' button and will take you to the actual previous page you visited?

    Regards, Ross
    IP

  2. #2
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: "Previous" doesn't function as 'back'...

    Quote Originally Posted by Ross Macintosh View Post
    Is there a way to have a 'previous' button that behaves like a browser 'back' button and will take you to the actual previous page you visited?
    Not without scripting.
    John.
    IP

  3. #3
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: "Previous" doesn't function as 'back'...

    Simply insert following string in the "Link to web address" field:

    javascript:history.go(-1)

    For "forward" button it's:

    javascript:history.go(1)
    John.
    IP

  4. #4
    Join Date
    Aug 2000
    Location
    Beaverton, OR
    Posts
    3,267

    Default Re: "Previous" doesn't function as 'back'...

    John,

    Shouldn't this (what the script does) be the NORMAL behavior for <Next page> and <Previous page> ?

    The way they work now is useful, but perhaps should be named something else.
    IP

  5. #5
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: "Previous" doesn't function as 'back'...

    Quote Originally Posted by jclements View Post
    Shouldn't this (what the script does) be the NORMAL behavior for <Next page> and <Previous page> ?
    No it shouldn't. The idea of the "next" and "previous" links in the WD is that if you swap pages in your site, you don't need to alter their links in case they are used as a sequence. See the Gary Priester tutorial as an example.
    These are just absolutely different things and have nothing in common except for the names used.
    The way they work now is useful, but perhaps should be named something else.
    Well, the history navigation is usually called "Back" and "Forward" not the "Previous page" and "Next page". Look at the tooltips in your browser. So I'm pretty sure that our naming of this feature is absolutelly correct.

    BTW, why would anyone add back/fore buttons on his page if every user see them both on the browsers toolbar?
    John.
    IP

  6. #6
    Join Date
    Aug 2000
    Location
    Beaverton, OR
    Posts
    3,267

    Default [Suggestion]

    I understand what you' re saying ... not arguing.

    Suggesting that Page Next and Page Previous (per the physical pages of the .Web document) and Back and Forward (per the navigation history) are all useful depending upon the design of the website and how that could result in the user's navigation behavior.

    But rather than using the script approach, have all four available in the Link to box of the Web Properties > Link dialog in a future release. I think that would be more user friendly.
    IP

 

 

Bookmarks

Posting Permissions

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