Categories:

Home / Free JavaScripts / Links / Here

Cut & Paste Follow Link Upon Mouseover II

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). 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

-News.com

-Freewarejava.com

-Yahoo

-Wired News

-Tech Web

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>


JavaScript Tools:
Site Info

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