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_Browser.js"></SCRIPT>
<SCRIPT LANGUAGE="javascript" SRC="javascript/JSFX_Bubble.js"></SCRIPT>
<SCRIPT LANGUAGE="javascript" TYPE="text/javascript">
<!--
function JSFX_StartEffects()
{
     
JSFX.Bubble(20,"<IMG SRC='images/bubble.gif' >", 60);
}

//-->
</SCRIPT>
<!-- *** END CUT - End Code *** -->

Put the following in the BODY TAG of your document

<BODY onLoad="JSFX_StartEffects()">

You then need to upload your document and the folders "javascript" and "images" to your site. (These folders were included in the zip file).

Customization.......
Param1: 20 - Change this to the number of bubbles.
Param2: "<IMG SRC='images/bubble.gif' >" - Change this to your "bubble" image
Param3: 60 - This is optional. If set, the bubbles will stop after 60 seconds

 

Also See...
Using External ".js" Files
Combining Multiple Scripts.