Email conversation
From | Matthew Miller |
To | Me |
Subject | Falling Snow Script |
Date | 12 September 2004 21:43 |
Hi, i was wondering how in you'r falling snow script i could make multiple
image's float down instead of just 1? I don't know what code or seperator i
need to put next to the first image, or if its even possible. Thank you
-QuickStar
From | Me |
To | Matthew Miller |
Subject | Re: Falling Snow Script |
Date | 13 September 2004 08:15 |
Matthew,
I have not made it possible to do this in the current script, but it is a
very simple change that you could make.
In the source of my script, change both occurences of
src="'+pictureSrc+'"
to
src="'+pictureSrc[x]+'"
Then instead of saying
var pictureSrc = 'snowflake.gif';
you can say this (if you have 10 snowflakes, you must have 10 array entries)
var pictureSrc = ['snowflake.gif','box.gif','leaf.gif','snowflake.gif',etc];
Hope this is useful
Mark 'Tarquin' Wilton-Jones - author of http://www.howtocreate.co.uk/