“);
else
document.write(“”);
function snowNS()
// Netscape main animation function
var now = new Date();
for (i = 0; i (doc_width-50))
xp[i] = 0; // Set position variables
yp[i] = Math.random()*(doc_height-50);
stx[i] = 0.7 + Math.random(); // Set step variables
sty[i] = 0; // Set step variables
doc_width = self.innerWidth;
doc_height = self.innerHeight;
document.layers[“dot”+i].top = yp[i];
document.layers[“dot”+i].left = xp[i];
break;
case ‘bubble’:
yp[i] -= sty[i];
if (yp[i] doc_height-50)
xp[i] = Math.random()*(doc_width-50); // Set position variables
yp[i] = 0;
stx[i] = 0; // Set step variables
sty[i] = 0.7 + Math.random(); // Set step variables
doc_width = self.innerWidth;
doc_height = self.innerHeight;
dx[i] += stx[i];
document.layers[“dot”+i].top = yp[i];
document.layers[“dot”+i].left = xp[i];
break;
case ‘snow’:
default:
yp[i] += sty[i];
if (yp[i] > doc_height-50)
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = 0;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
doc_width = self.innerWidth;
doc_height = self.innerHeight;
dx[i] += stx[i];
document.layers[“dot”+i].top = yp[i];
document.layers[“dot”+i].left = xp[i] + am[i]*Math.sin(dx[i]);
break;
if ((duration != 0) && (now.getTime() >= endtime))
document.layers[“dot”+i].visible=”hidden”;
}
if ((duration == 0) || (now.getTime() (doc_width-50))
xp[i] = 0; // Set position variables
yp[i] = Math.random()*(doc_height-50);
stx[i] = 0.7 + Math.random(); // Set step variables
sty[i] = 0; // Set step variables
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
document.all[“dot”+i].style.pixelTop = yp[i];
document.all[“dot”+i].style.pixelLeft = xp[i];
break;
case ‘bubble’:
yp[i] -= sty[i];
if (yp[i] doc_height-50)
xp[i] = Math.random()*(doc_width-50);
yp[i] = 0;
stx[i] = 0;
sty[i] = 0.7 + Math.random();
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
dx[i] += stx[i];
document.all[“dot”+i].style.pixelTop = yp[i];
document.all[“dot”+i].style.pixelLeft = xp[i];
break;
case ‘snow’:
default:
yp[i] += sty[i];
if (yp[i] > doc_height-50)
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = 0;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
dx[i] += stx[i];
document.all[“dot”+i].style.pixelTop = yp[i];
document.all[“dot”+i].style.pixelLeft = xp[i] + am[i]*Math.sin(dx[i]);
break;
}
if ((duration != 0) && (now.getTime() >= endtime))
document.all[“dot”+i].style.visibility = ‘hidden’;
}
if ((duration == 0) || (now.getTime() (doc_width-50))
xp[i] = 0; // Set position variables
yp[i] = Math.random()*(doc_height-50);
stx[i] = 0.7 + Math.random(); // Set step variables
sty[i] = 0; // Set step variables
document.getElementById(“dot”+i).style.top = yp[i]+’px’;
document.getElementById(“dot”+i).style.left = xp[i]+’px’;
break;
case ‘bubble’:
yp[i] -= sty[i];
if (yp[i] doc_height-50)
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = 0;
stx[i] = 0;
sty[i] = 0.7 + Math.random();
dx[i] += stx[i];
document.getElementById(“dot”+i).style.top = yp[i]+’px’;
document.getElementById(“dot”+i).style.left = xp[i]+’px’;
break;
case ‘snow’:
default:
yp[i] += sty[i];
if (yp[i] > doc_height-50)
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = 0;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
dx[i] += stx[i];
document.getElementById(“dot”+i).style.top = yp[i]+’px’;
document.getElementById(“dot”+i).style.left = (xp[i] + am[i]*Math.sin(dx[i]))+’px’;
break;
}
if ((duration != 0) && (now.getTime() >= endtime))
document.getElementById(“dot”+i).style.visibility = ‘hidden’;
}
if ((duration == 0) || (now.getTime()
Martedì 28 Gennaio 2025, 14:00 – 16:30
Luogo Aula Magna,
***** l’articolo pubblicato è ritenuto affidabile e di qualità*****
Visita il sito e gli articoli pubblicati cliccando sul seguente link