PDA

View Full Version : is it just me?


deaths workers
December 9th, 2002, 17:08
is it just me or do u all c it snowing in the dorum index page is it christmas yet or em i smoking crack?

deaths workers
December 9th, 2002, 17:09
forum not dorum sorry

deaths workers
December 9th, 2002, 17:10
and u dotn smoke crack u snort it im sorry im a idiot haha :wink: :roll: :twisted:

deaths workers
December 9th, 2002, 17:11
dont wow thats a record of bad spelling im not even going to try to spell from now on lol

IsZi
December 9th, 2002, 18:31
I don't see it... what theme are you using?

-=DoW=- SmokieRat
December 9th, 2002, 18:40
Hey, it's snowing in the chronicles theme.

-=DoW=- SmokieRat
December 9th, 2002, 19:42
Hey its snowing everywhere :shock:

-(Oc)-Mavric
December 9th, 2002, 19:50
How Did you get it to do that?
That's Neet... :)

-=DoW=- SmokieRat
December 9th, 2002, 20:16
Snow snow Snow snow Snow I love snow! :lol:

Acedeal
December 9th, 2002, 20:31
In your installed theme open:

index_body.tpl



/* Insert at top of document before anything else */
<script language="javascript" type="text/javascript" src="../forum/snowflake.js"></script>
/* Adjust path for your Web_Site */
/*Make sure that this line is the first line on those pages you want to edit */



This will put snow flakes on just on the index page, if you want it installed on every page you need to put it in the overall_header.tpl.

And make sure you put this .js script in your:
web_root/forum directory ie. your_domain/www/forum



/* this script is called snowflake.js just put in in your root forum directory*/
var isNetscape6=false;
if (navigator.appName == "Netscape" && parseFloat(navigator.appVersion) >= 5)
isNetscape6=true;

/*
This script has been disabled for
Netscape 6 due to ugly scrollbar
activety. Could probably be fixed
with a clipped container div but
can't be bothered.
*/

if (!isNetscape6){
num=15; //Smoothness depends on image file size, the smaller the size the more you can use!
stopafter=30; //seconds!


//Pre-load images!
pics=new Array("snfla.gif","snflb.gif","snflc.gif","snfld.gif","snfle.gif","snflf.gif");
load=new Array();
for(i=0; i < pics.length; i++){
load[i]=new Image();
load[i].src=pics[i];
}
stopafter*=1000;
timer=null;
y=new Array();
x=new Array();
s=new Array();
s1=new Array();
s2=new Array();
if (document.layers){
for (i=0; i < num; i++){
randomleaf = pics[Math.floor(Math.random()*pics.length)];
document.write("<LAYER NAME='leaf"+i+"' LEFT=0 TOP=0><img src="+randomleaf+"></LAYER>");
}
}
if (document.all){
document.write('<div style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i=0; i < num; i++){
randomleaf = pics[Math.floor(Math.random()*pics.length)];
document.write('<img id="leaf'+i+'" src="'+randomleaf+'" style="position:absolute;top:0px;left:0px">');
}
document.write('</div></div>');
}
if (!document.all&&!document.layers){
for (i=0; i < num; i++){
randomleaf = pics[Math.floor(Math.random()*pics.length)];
document.write("<div id='leaf"+i+"' style='position:absolute;top:0px;left:0px'><img src="+randomleaf+"></div>");
}
}
inih=(document.all)?window.document.body.clientHei ght:window.innerHeight-100;
iniw=(document.all)?window.document.body.clientWid th:window.innerWidth-100;
for (i=0; i < num; i++){
y[i]=Math.round(Math.random()*inih);
x[i]=Math.round(Math.random()*iniw);
s[i]=Math.random()*5+3;
s1[i]=0;
s2[i]=Math.random()*0.1+0.05;
}
function fall(){
h=(document.all)?window.document.body.clientHeight :window.innerHeight;
w=(document.all)?window.document.body.clientWidth: window.innerWidth;
scy=(document.all)?document.body.scrollTop:window. pageYOffset;
scx=(document.all)?document.body.scrollLeft:window .pageXOffset;
for (i=0; i < num; i++){
sy=s[i]*Math.sin(90*Math.PI/180);
sx=s[i]*Math.cos(s1[i]);
y[i]+=sy;
x[i]+=sx;
if (y[i] > h){
y[i]=-60;
x[i]=Math.round(Math.random()*w);
s[i]=Math.random()*5+3;
}
s1[i]+=s2[i];
if (document.layers){
document.layers["leaf"+i].left=x[i];
document.layers["leaf"+i].top=y[i]+scy;
}
else{
document.getElementById("leaf"+i).style.left=x[i];
document.getElementById("leaf"+i).style.top=y[i]+scy;
}
}
timer=setTimeout('fall()',20);
}
fall();

function dsbl(){
for (i=0; i < num; i++){
if (document.layers)
document.layers["leaf"+i].visibility="hide";
else
document.getElementById("leaf"+i).style.visibility="hidden";
}
clearTimeout(timer);
}
setTimeout('dsbl()',stopafter);
}


you also need to snag these snowflaks and they go where ever you put the .js script

http://www.dow-sniper.net/forum/snfla.gif

http://www.dow-sniper.net/forum/snflb.gif

http://www.dow-sniper.net/forum/snflc.gif

http://www.dow-sniper.net/forum/snfld.gif

http://www.dow-sniper.net/forum/snfle.gif

http://www.dow-sniper.net/forum/snflf.gif

deaths workers
December 10th, 2002, 00:54
thats cool

-(Oc)-Mavric
December 11th, 2002, 16:06
That is cool. Thanks...
:)