Categories:

Home / Free JavaScripts / Links / Here

Cut & Paste Follow Link Upon Mouseover

Credit: JavaScript Kit

Description: A script that causes a link to the "followed" as soon as the surfer moves the mouse over it (as opposed to clicking it).

Example: Click here to go back home!

Directions: Simply insert the following code into the <a> tag of all of the links you want the "follow link" feature enabled:

An example would be:

<a href="http://www.javascriptkit.com" onMouseover="window.location=this.href">Click here to go back home!</a>


JavaScript Tools:
Site Info

CopyRight 1998-2012 JavaScript Kit. NO PART may be reproduced without author's permission.