Piczo

Log in!
Stay Signed In
Do you want to access your site more quickly on this computer? Check this box, and your username and password will be remembered for two weeks. Click logout to turn this off.

Stay Safe
Do not check this box if you are using a public computer. You don't want anyone seeing your personal info or messing with your site.
Ok, I got it














<--xx-- ********="--xx--">
/*
******** firework --xx-- (By Kurt Gregg,   kurt.grigg@virgin.net)
Modified granted to Dynamic Drive to feature --xx-- in archive
For full source and 100's more DHTML --xx--s,   visit http://dynamicdrive.com
*/
if (********.all)
with(********){
write('
') write('
') write('
') write('
') write('
') write('
') write('
') write('
') write('
') write('
') write('
') write('
') write('
') write('
') write('
') write('
') }
var Clrs=new Array(9)
Clrs[0]='ff0000';   Clrs[1]='00ff00';   Clrs[2]='000aff';   Clrs[3]='ff00ff';   Clrs[4]='ffa500';   Clrs[5]='ffff00';   Clrs[6]='00ff00';   Clrs[7]='ffffff';   Clrs[8]='fffff0';   var sClrs=new Array(5)
sClrs[0]='ffa500';   sClrs[1]='55ff66';   sClrs[2]='AC9DFC';   sClrs[3]='fff000';   sClrs[4]='fffff0';   var yBase;
var xBase;
var step;
var currStep = 0;
var Xpos = 1;
var Ypos = 1;
var initialStarColor='ffa000';   var Mtop=250;   var Mleft=250;   function Fireworks() {
if (********.all)
{
yBase = ****************.body.offsetHeight/3;
xBase = ****************.body.offsetWidth/8;
}
else if (********.layers)
{
yBase = ********innerHeight/3;
xBase = ********innerWidth/8;
}
if (********.all)
{
step=5;   for ( i = 0 ;   i < starsDiv.all.length ;   i++ )
{
for (ai=0;   ai < Clrs.length;   ai++)
{
var c=Math.round(Math.random()*[ai]);   }
if (currStep < 90)
starsDiv.all[i].style.background=initialStarColor;   if (currStep > 90)
starsDiv.all[i].style.background=Clrs[c];
starsDiv.all[i].style.top = Mtop + yBase*Math.sin((currStep+i*5)/3)*Math.sin(550+currStep/100)
starsDiv.all[i].style.left = Mleft + yBase*Math.cos((currStep+i*5)/3)*Math.sin(550+currStep/100)
}
}
else if (********.layers)
{
step = 5;
for ( j = 0 ;   j < 14 ;   j++ ) //number of NS layers!
{
var templayer="a"+j for (ai=0;   ai < Clrs.length;   ai++)
{
var c=Math.round(Math.random()*[ai]);   }
if (currStep < 90)
********.layers[templayer].bgColor=initialStarColor;   if (currStep > 90)
********.layers[templayer].bgColor=Clrs[c];
********.layers[templayer].top = Mtop + yBase*Math.sin((currStep+j*5)/3)*Math.sin(550+currStep/100)
********.layers[templayer].left = Mleft + yBase*Math.cos((currStep+j*5)/3)*Math.sin(550+currStep/100)
}
}
currStep+= step;
//********status=currStep;
T=setTimeout("Fireworks()", 5);
if (currStep==220 )
{
currStep=-10;   for (n=0;   n < sClrs.length;   n++)
{
var k=Math.round(Math.random()*n);   }
initialStarColor=sClrs[k];   if (********.all)
{
Dtop=****************.body.clientHeight-250;   Dleft=xBase*3 .5;
Mtop=Math.round(Math.random()*Dtop);   Mleft=Math.round(Math.random()*Dleft);   ********.all.starsDiv.style.top=Mtop+********.body.scrollTop;   ********.all.starsDiv.style.left=Mleft+********.body.scrollLeft;   }
else if (********.layers)
{
Dleft=********innerWidth-100;   Dtop=********innerHeight-100;   Mtop=Math.round(Math.random()*Dtop+********pageYOffset);   Mleft=Math.round(Math.random()*Dleft+********pageXOffset);   ********.layers[templayer].top=Mtop;   ********.layers[templayer].left=Mleft;   }
if ((Mtop < 20) || (Mleft < 20))
{
Mtop+=90;   Mleft+=90;   }
}
}
if (********.all||********.layers)
Fireworks();
</--xx-->
Retour à la page d'accueil
motor 4