Home > Windows > Common Technique
Search:
JavaScript Tip - Quick Back Button
Hits:24

If you are just getting started using JavaScript, then this will be a very easy and helpful way to get to know it. If you would like to find hundreds of other free scripts out here on the Internet, just type in "Free Javascripts" into your favorite search engine and you will see tons to choose from.

In this tip, if your visitor clicks on the provided text, they will be sent back to the web page that they previously visited. I have used this JavaScript before inside of popup windows.

<a href="javascript:history.go(-1)" onMouseOver="self.status=document.referrer;return true">Go Back</a>

Instructions:

  1. Copy the above script and paste it in a blank notepad page.
  2. Re-copy it to your clipboard.
  3. Place your curser on the spot you would like your link to appear on the page and then switch to HTML view.
  4. Paste the script in the spot your curser is blinking.
  5. Save your changes and then switch back to Normal View.
Home | About Us | Privacy Policy
Copyright 2007-2017 RegistryWinner.com. All rights reserved.