|
|
|
JavaScript rollover animation: highlight effect for textlinks This script creates a unique rollover animation for textlinks. The smooth zoom-in-zoom-out effect requires almost no bandwidth. You may set each link to a different color and a different borderwidth. True copy and paste installation. No images required. Very easy configuration. Internet Explorer 5x/6x/7x/8x/9x, Firefox 2x/3x/4x, Opera 7x/8x/9x/10x/11x, Chrome 3x/4x/5x/6x/7x/8x/9x. Brought to you by www.fabulant.com
Test the script
Just move your mouse over this short link or put it over this very long textlink to test the highlight effect.
Configuration
Step 1: Open your webpage. Insert the below code immediately above the </body> tag:
Step 2: Create your links, as shown in the grey box below:
<span style="position:relative"><a href="http://www.yourlink.com" onMouseOver="showlines(this,'red',16)" onMouseOut="hidelines()">testlink</a></span>
green code: do not change the green code.
red code: set the color of the expanding box.
blue code: set the width of the expanding boxborders.
|
 |
|
|