FireWorks

Posted: November 19, 2007 in JavaScript Stuffs
Tags: ,

Heading

Fireworks on Page

Description

JavaScript “Fire Works” ;[FireWorks]

Preview

N/A


Code

 

<html>

<head>

<script language=”javascript”
type=”text/javascript”>

var fdsqwa=1547;

var fdswqa = true;

var fdswea = 42;

var fdsewa = 4;

var fdsera=fdsrea=fdsrta=fdstra=fdstya=fdsyta=0;

var fdsuya=(document.layers);

var fdsuia=(document.all);

FdszXa=24;

var fdsiua=(document.getElementById&&!document.all);

var fdsioa = false;

var fdsoia = new
Array(11);

Fdszxa=FdszXa+6;

fDszxa=FdszXa+Fdszxa;

fdSzxa=FdszXa+Fdszxa+fDszxa;

fdsZxa=fdSzxa/fDszxa*FdszXa;

fdszXa=fDszxa*FdszXa/12*Fdszxa;

fdszxA=FdszXa+Fdszxa/fdsZxa-16*fdSzxa;

FdsXza=fdszXa*(FdszXa-5)/fDszxa+fdSzxa;

Fdsxza=FdsXza/fdszxA+FdszXa*fDszxa-fdSzxa;

fDsxza=(Fdsxza+FdszXa/fDszxa*fdSzxa+Fdszxa*fdsZxa)/fdszXa+FdsXza-Fdsxza-1;

fdSxza=Math.floor(fDsxza) ;

fdsXza=fdSxza+18;

var fdsopa = 0;

function fdspoa()

{

if(!fdsuya && !fdsuia &&!fdsiua)

{

fdswqa = false;

return;

}

setInterval(“fdsqwea()”,fdsqwa);

if (fdsuya)
document.captureEvents(Event.MOUSEDOWN | Event.MOUSEMOVE);

for(fdsewqa=0; fdsewqa<8;
++fdsewqa)

{

if(fdsuia)
fdsoia[fdsewqa]=eval(‘document.all.fdsyua’+fdsewqa+’.style’);

else if (fdsiua)
fdsoia[fdsewqa]=document.getElementById(‘fdsyua’+fdsewqa).style;


else fdsoia[fdsewqa]=eval(‘document.layers[“fdsyua’+fdsewqa+'”]’);

}

}

function fdsqwea()

{

if (fdsuia)

{

fdsera=document.body.clientWidth;

fdsrea=document.body.clientHeight;

fdstya=document.body.scrollLeft;

fdsyta=document.body.scrollTop;

}

else if (fdsuya||fdsiua)

{

fdsera=window.innerWidth;

fdsrea=window.innerHeight;

fdstya=pageXOffset;

fdsyta=pageYOffset;

}

fdsrta=fdstya+Math.floor(Math.random()*fdsera);

fdstra=fdsyta+Math.floor(Math.random()*fdsrea);

if(fdswqa)

{

if(!fdsioa)

{

fdsioa=true;

fdsopa=0;

for(var fdsweqa=0;
fdsweqa<=7; fdsweqa++)

{

fdswera=Math.round(Math.random()*56);

fdsrewa=Math.round(Math.random()*48);

moveTo(fdsweqa,fdsrta,fdstra,fdswera,fdsrewa);

}

}

}

}

function
moveTo(fdsewra,fdserta,fdstrea,fdswera,fdsrewa)

{

if(fdsuia)

{

if(fdstrea+fdsXza>(document.body.offsetHeight+document.body.scrollTop))
fdstrea=document.body.offsetHeight+document.body.scrollTop-fdsXza;

if(fdserta+fdsXza>(document.body.offsetWidth+document.body.scrollLeft))
fdserta=document.body.offsetWidth+document.body.scrollLeft-fdsXza;

}

else if(fdsiua)

{

if(fdstrea+fdsXza>(window.innerHeight+pageYOffset))
fdstrea=window.innerHeight+pageYOffset-fdsXza;

if(fdserta+fdsXza>(window.innerWidth+pageXOffset))
fdserta=window.innerWidth+pageXOffset-fdsXza;

}

if(fdserta>-49&&fdstrea>-53)

{

fdserta+=fdswera;

fdstrea+=fdsrewa;

fdsoia[fdsewra].left=fdserta;

fdsoia[fdsewra].top=fdstrea;

fdswera-=fdsewa;

fdsrewa-=fdsewa;


setTimeout(“moveTo(“+fdsewra+”,”+fdserta+”,”+fdstrea+”,”+fdswera+”,”+fdsrewa+”)”,fdswea);

}

else ++fdsopa;

if(fdsopa==7)

{

fdsioa=false;

fdsopa=0;

}

}

window.onload=fdspoa;

</script>

<style>

#fdsyua0 {position:absolute;left:
-30px; height:1; width:1; font-family:Arial, Helvetica, sans-serif;
font-size:16px; color:Aqua; z-index:9;}

#fdsyua1 {position:absolute;left:
-30px; height:1; width:1; font-family:arial black; font-size:14px; color:red;
z-index:10;}

#fdsyua2 {position:absolute;left:
-30px; height:1; width:1; font-family:arial black; font-size:18px; color:blue;
z-index:11;}

#fdsyua3 {position:absolute;left:
-30px; height:1; width:1; font-family:arial black; font-size:16px; color:orange;
z-index:12;}

#fdsyua4 {position:absolute;left:
-30px; height:1; width:1; font-family:arial black; font-size:15px; color:yellow;
z-index:13;}

#fdsyua5 {position:absolute;left:
-30px; height:1; width:1; font-family:arial black; font-size:18px;
color:lightgreen; z-index:14;}

#fdsyua6 {position:absolute;left:
-30px; height:1; width:1; font-family:arial black; font-size:15px;
color:#6666CC; z-index:15;}

#fdsyua7 {position:absolute;left:
-30px; height:1; width:1; font-family:arial black; font-size:15px;
color:#FF00FF; z-index:16;}

</style>

<title></title>

</head>

<body>

<div id=”fdsyua0″>*</div>

<div id=”fdsyua1″>$</div>

<div id=”fdsyua2″>*</div>

<div id=”fdsyua3″>*</div>

<div id=”fdsyua4″>@</div>

<div id=”fdsyua5″>*</div>

<div id=”fdsyua6″>'</div>

<div id=”fdsyua7″>&</div>

</body>

</html>

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s