воскресенье, 10 февраля 2013 г.

метерологическая станция барнаул

setTimeout("snowNS()", speed);

document.layers["dot"+i].left = xp[i] + am[i]*Math.sin(dx[i]);

document.layers["dot"+i].top = yp[i];

doc_height = self.innerHeight;

stx[i] = 0.02 + Math.random()/10;

xp[i] = Math.random()*(doc_width-am[i]-30);

for (i = 0; i doc_height-50) {

function snowNS() { // Netscape main animation function

for (i = 0; i layer name=\"dot"+ i +"\" left=\"15\" ");

doc_height = document.body.clientHeight;

doc_width = document.body.clientWidth;

doc_height = self.innerHeight;

var i, doc_width = 800, doc_height = 600;

var am, stx, sty; // amplitude and step variables

var dx, xp, yp; // coordinate and position variables

var ie4up = (document.all) ? 1 : 0;

var ns4up = (document.layers) ? 1 : 0; // browser sniffer

var snowflake = "http://www.geo.asu.ru/images/snow.gif";

var speed = 10; // smaller number moves the snow faster

Географический факультет Алтайского Государственного Университета

Комментариев нет:

Отправить комментарий