Categories:

Home / Free JavaScripts / Links / Here

Cut & Paste Dynamic Highlight link script

Credit: JavaScript Kit

Description: Use this nifty script to add a highlight effect to any link, with the highlight color for each link fully customizable. Great way to add emphasis to particular links on your site! Updated to work in NS 6 too!

Example:

JavaScript Kit Free JavaScripts

Dynamic Drive DHTML code library

Freewarejava.com

Directions: Insert the below into the <body> section of your page:

Now, to apply the highlight effect to any link, simply add the below into the <a> tag in question:

<a href="http://javascriptkit.com/" onMouseover=highlight(this,'yellow') onMouseout="highlight(this,document.bgColor)">JavaScript Kit Free JavaScripts</a>

Enjoy!


JavaScript Tools:
Site Info

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