Cut & Paste Dynamic Highlight link script
|
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
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!