Results 1 to 3 of 3

Thread: HTML and Back button...

  1. #1

  2. #2
    Hyperactive Member Anglo Saxon's Avatar
    Join Date
    Mar 2002
    Location
    Durham, UK
    Posts
    259
    Code:
    <a href="javascript:history.back();">go back</a>
    
     or 
    
    <a href="javascript:history.go(-1);">go back</a>
    With history.go the parameter value determines how far back to go, history.go(0) will reload the current page,history.go(-2) will go back 2 pages(if there arent two historical pages in the browser session then it will go to the first visited page).

    --
    Anglo Saxon

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Please click the back button on your browser.

Posting Permissions

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



Click Here to Expand Forum to Full Width