SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Hybrid View

  1. #1
    SitePoint Enthusiast Morpheos's Avatar
    Join Date
    Feb 2000
    Location
    Miches, DR.
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello all,

    I have seen this before. There is a script that can give a normal hyperlink the function of the Back Button. So to say, a link that takes you to the page you viewd before.

    Does anybody have any info on that?

    Thanks a lot people!
    Morpheos - Media Design/Motion
    Creative Kingdom
    morpheos@creative-k.com

  2. #2
    Irritability Defined
    Join Date
    Jul 2000
    Location
    80,000 feet below the surface
    Posts
    1,442
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Indeed. It's done by using JavaScript.

    Check this thread out : http://www.sitepointforums.com/showt...threadid=10393
    My 2 Cents (or is that 2.2 Cents including GST?)

  3. #3
    SitePoint Enthusiast
    Join Date
    Jul 2000
    Posts
    69
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    <a href="javascript:history.back(1)">Go Back</a>

    Hope this helps

    Sang N.

  4. #4
    SitePoint Enthusiast Morpheos's Avatar
    Join Date
    Feb 2000
    Location
    Miches, DR.
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Perfect!!

    THANKS A LOT ALL!!
    s
    Morpheos - Media Design/Motion
    Creative Kingdom
    morpheos@creative-k.com

  5. #5
    SitePoint Member
    Join Date
    Jan 2001
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, with history.back() (vinasite's answer) or...

    previous page:
    <a href="javascript:history.go(-1)">Back</a>

    back 5 pages:
    <a href="javascript:history.go(-5)">Back 5</a>


    Laura Harris


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
  •