--------Flashing Links script
By: Dynamic Drive
Example: The script allows you to flash a link in two ways- flashing the link text itself, or it's background:
Step 1: Simply insert the below code to the END of your document, right above the </body> tag:
The script operates by extending all links on your page with three optional attributes, which you apply to the specific link you wish to flash. Here are the attributes:
id="flashlink" | Enables flashing on the link |
flashtype=? | Sets the type of flash. Set to 0 for flashing on link text, 1 for flashing on link's background |
flashcolor=? | Sets the color of the flash. Input color name or hex value. |
All three attributes should appear concurrently in the flashing link. For example:
<a href="index.htm" id="flashlink" flashtype=0 flashcolor="green">Example 1</a>
<a href="index.htm" id="flashlink" flashtype=1 flashcolor="lime">Example 2</a>
The result is: