FallT v1.0

FallT is a variation on my other falling script Fall except this one only uses text for the falling objects. You can of course use an * or similar for the text and still get a snowy effect or you can use a short message like "Happy Xmas". As this version is not as graphical as the other fall script I've added a colour fade to give things a bit of depth.

Installation

Setting it up is easy:

Download fallt.zip (contains fallt.js & example.htm)

Extract "fallt.js" from the zip file and place within your site somewhere.

Put this line anywhere within the <BODY> tags on your page(s):

<script type="text/javascript" src="pathto/fallt.js"></script>

Change the "pathto/fall.js" to reflect its location in your site.

That should be it...

Configuration

If you want to reconfigure FallT you will have to modify the variables as shown below:(all on the first line of the script)

no=15number of objects

speed=30delay speed (milliseconds)

slider=30how far to waft side to side (pixels)

fallmax=8maximum falling speed (pixels)

wind=0prevailing wind (1=right, -1=left, 0=off)

fallwhat="&#149;"text to display falling (set to bullet with code "&#149;")

To change the colours you will need to change the colours in the array. you can have as many colours as you like and you can use any hex colours you like from #000000 to #FFFFFF and they can be random or you can use another of my scripts, fade, to create a fading colour array.

Fallt can be processor intensive for low spec machines. So you can add a toggle switch to your page to allow your visitors to turn off FallT. The toggle can be made from a link on any object/text to the toggle function: