To include this FX in your document you need to put the the following
in the HEAD section of your document
<!-- *** BEGIN CUT - Start Code *** -->
<!-- (* Another free JavaScript © from JavaScript-FX.com *) -->
<SCRIPT LANGUAGE="javascript" SRC="javascript/JSFX_Layer.js"></SCRIPT>
<SCRIPT LANGUAGE="javascript" SRC="javascript/JSFX_Mouse.js"></SCRIPT>
<SCRIPT LANGUAGE="javascript" SRC="javascript/JSFX_Spring.js"></SCRIPT>
<SCRIPT LANGUAGE="javascript" TYPE="text/javascript">
<!--
function JSFX_StartEffects()
{
JSFX.MakeTextSpring
("My text message", "blue");
}
//-->
</SCRIPT>
<!-- *** END CUT - End Code *** -->
Put the following in the BODY TAG of your document
<BODY onLoad="JSFX_StartEffects()">
Customization.
Param1: "My text message" - The
text you want to display.
Param2: "blue" - Any valid HTML color ("blue",
"red", "#FFAACC", etc...).
Also See...
Using External ".js"
Files
Combining Multiple Scripts.
|