Страницы: 1
/*
butterfly Script by Rachel R (broadwaygal13@hotmail.com)
Based on code by Altan d.o.o. (snow@altan.hr, http://www.altan.hr/snow/index.html)
For full source code and installation instructions to this script, visit http://dynamicdrive.com
*/var no = 3; // image number or falling rate
var speed = 1; // the lower the number the faster the image moves
var snow = new Array();snow[0] = "/templates/images/bee1.gif"
snow[1] = "/templates/images/bee2.gif"
snow[2] = "/templates/images/bee3.gif"var ns4up = (document.layers) ? 1 : 0; // browser sniffer
var ie4up = (document.all) ? 1 : 0;
var dx, xp, yp; // coordinate and position variables
var am, stx, sty; // amplitude and step variables
var i, doc_width = 800, doc_height = 1800;if (ns4up) {
doc_width = self.innerWidth;
doc_height = self.innerHeight;
} else if (ie4up) {
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}dx = new Array();
…
xp = new Array();
yp =
Страницы: 1