Cut & Paste Follow Link Upon Mouseover II
|
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). Unlike the first version, this one loads the target URL in a secondary window instead. Great if the links are to another site, and you don't want to "lose your visitors."
Example:
-CNN
Directions:
Step 1: Add the following to the <head> section of your page:
Step 2: 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="loadfollow(this)">Click here to go back home!</a>