Forums

Count to 50 before a Jmod XI Thread is locked

Quick find code: 86-87-586-65713001

Ceecs
Mar Member 2010

Ceecs

Posts: 16,166 Opal Posts by user Forum Profile RuneMetrics Profile
Mod Matthe said :
Let it snow!

<script> var winwidth; var winheight; var population; fxpos=new Array(); fypos=new Array(); fsize=new Array(); frgba=new Array(); ffall=new Array(); initinterval=setInterval("Init()",(1000/20)); function Init(){ if(document.readyState!="complete&quot ;) {return;} clearInterval(initinterval); winheight=document.body.scrollHeight; population=winheight/20; for(i=0; i<population; i++){ flake$="<div id='flake"+i+"' style='position:absolute; z-index:255;'></div>"; document.body.insertAdjacentHTML("AfterBegin",flake$); Set(i); } setInterval("Snow()",(1000/20)); } function Set(j){ winwidth=document.body.scrollWidth; winheight=document.body.scrollHeight; ffall[j]=Math.round(Math.random()*5)+3; fxpos[j]=Math.round(Math.random()*winwidth-56); fypos[j]=-50-Math.round(Math.random()*winheight); fsize[j]=Math.round(Math.random()*20)+16; if(window.navigator.appVersion.slice(0,1)<5){frgba[j]="rgb(255,255,255)";} else{frgba[j]="rgba(255,255,255,"+(((fsize[j]-16)/40)+0.3)+&quot ;) ";} flake=document.getElementById('flake'+j); flake.innerHTML=String.fromCharCode(Math.round(Math.random()*2)+10052); flake.style.fontSize=fsize[j]+"px"; flake.style.top=fypos[j]+"px"; flake.style.color=frgba[j]; } function Snow(){ winwidth=document.body.scrollWidth; winheight=document.body.scrollHeight; for(k=0; k<population; k++){ if(fypos[k]+fsize[k]+ffall[k]>winheight-10){Set(k);} fypos[k]=fypos[k]+ffall[k]; xpos=fxpos[k]+Math.cos(fypos[k]/100)*25; if(xpos+fsize[k]>winwidth-10){xpos=winwidth-fsize[k]-10} flake=document.getElementById('flake'+k); flake.style.left=xpos+"px"; flake.style.top=fypos[k]+"px"; } } </script>


HAX!

3
Ceecs - leader of Ceecs Clan
Rank in Star Find, Harmed Ore, Beach FC | Ex-Rank in Fast SC

Ceecs Clan: DUTCH ONLY RS3 clan & Winner of the Iron Skilled Cup 2015!

02-Dec-2015 14:51:16

Quick find code: 86-87-586-65713001 Back to Top