Use this script to easily create crossfade color effects. Just put any text you want in "SPAN", "DIV", or "P" HTML tags, add a snippet of code, and the script does the rest. This effect only works in newer "standards" browsers such as IE5.5+, Netscape6+, and Mozilla. It will NOT work in IE4 or Netscape 4.x, but will not generate errors. Those older browsers will simply display the text normally. |
Over 2000+ free Javascript
at JavaScriptBank.com Website
Therefore, if you try to apply the effect to the following code: | <span id="img1" style="font-weight:bold"><img src="button.gif"> Example Button</span> |
You would get this: | Example Button |
When you really probably wanted this: | Example Button |
1: | 'ID' | The unique ID string value you assigned to the element. |
2: | 'startColor' | The starting color string in HEX form. Eg: #FFFFFF |
3: | 'endColor' | The ending color string in HEX form. |