Links: highlighting effect with swapping background-colors Just paste a short piece of code into your link-tags in order to create an eyecatching link-highlighter-effect. The script will change the background-color onMouseOver and restore the original color onMouseOut. Best of all: no separate JavaScript-block is needed! You may add a different background-color for each textlink. Crossbrowser Run the script Just move your cursor over any textlink to study the effect. Configuration Copy the red part below into any textlink:
In order to get a background-color of your choice just replace the color red below with your color. In order to return to your original background-color just replace the color white below with your original background-color.
|