PDA

View Full Version : Snow for Christmas


Ev!L ErN!E
26 Nov 2006, 00:00
Snow For Christmas
(not supported)

This is a VERY simple addon that will give the effect of snow falling on your forums, its great for the holiday season, and makes it an easy way to give your forum that holiday feel without doing a bunch of editing or theme changes.

Step 1. Download the attached snow.zip (unpack it) and upload the snow.js to your forums root
(you can also edit the snow.js to change, speed & amount of snow that falls)

Step 2. Go to ADMIN > STYLE MANGER > your style > HEADER
In the "header" box add this code:

<!-- Start Snow For Christmas Code -->
<script type="text/javascript" src="snow.js"></script>
<!-- End Snow For Christmas Code -->

(this will make it snow on all areas of your forum)

If you only want the snow effect to be seen on the main page of your forum then do Step 3 instead of Step 2

Step 3. Go to your styles "FORUMHOME" and add the above code just under the "<head>"

This has only been tested on 3.6.2 using IE6

To stop this effect after the holidays, simply comment out the script code like this:

<!-- Start Snow For Christmas Code -->
<!-- <script type="text/javascript" src="snow.js"></script> -->
<!-- End Snow For Christmas Code -->


DEMO
View a demo here (http://www.clanevilinc.com/forums/index.php?styleid=3)
(this demo is using STEP 3, snow only on the FORUMHOME)

Please Click INSTALL

TheBlackPoet
26 Nov 2006, 00:26
*maniacal laughing*.... I will impress them all!!!!!! *maniacal laughing continues*

rezapci
26 Nov 2006, 02:01
works on firefox 1.5.0.8

thank you

jcfuller
26 Nov 2006, 03:13
cool :up:

Does anyone know how to make it show on the vBadvanced CMPS portal?

tobybird
26 Nov 2006, 04:03
Sweet! Works on 3.6.0 - FF v2 and IE v6. Also running vBadvanced CMPS v2.2.0 on forumhome left side only.

Thanks!

PoetJA-1975
26 Nov 2006, 05:00
hehehe - this looks soooooooo COLD :P
I'm using a light skin mostly though - will give it a try
Thanx!

Jacquii.

tehehehe - someone has already noticed the snow ;)
Working great on 3.5.6
Thanx!

BackSideSA
26 Nov 2006, 05:11
couldnt get this to work for me

miner
26 Nov 2006, 09:09
Thanks looks gr8 on my forums...

Ev!L ErN!E
26 Nov 2006, 09:17
couldnt get this to work for me

what version of vB are ya using, and did you make sure to edit the forumhome template and add the code under the <head> tag?

btw I also tested this on IE7 and it works...
glad everyone is enjoying it, looks like some forums are gonna be chilly this season, lol.

:)

Allan
26 Nov 2006, 10:01
yes, it's funny ;)

AMG021
26 Nov 2006, 13:03
there is a hack like this and better! heres the link.This has more options

jamesk
26 Nov 2006, 15:44
how about throwing in a few random multicolored light bulbs

basilrath
26 Nov 2006, 15:49
how do you get the bigger flakes

in the coding on the js

Dynastar
26 Nov 2006, 17:56
Yeh im suck trying to get the flakes bigger.

Dermo-MIO
26 Nov 2006, 18:23
props dude will add this closer to xmas

Shazz
26 Nov 2006, 18:26
Yeh im suck trying to get the flakes bigger.

The bigger they are the more it Lags your fourm

XFSImperial
26 Nov 2006, 19:07
Nice, works great on vB 3.5.4 using Firefox 2 & IE7

joopss
26 Nov 2006, 19:09
Thanks!

Dynastar
26 Nov 2006, 19:44
The bigger they are the more it Lags your fourm

Yeh but how do you get them bigger ?

phovanxua
26 Nov 2006, 21:52
I got a set of snow flake ...if you want I can give it to you to replace .... i got this mod form snow flake linkman ...I edit the snow by leaf for the Falls season ...you can check my forum here : http://www.vietdetroit.com

But that mod only work on IE ...it's doesn't show on FF .

So let try your mod to see if it work .

By the way if you add the script to bottom footer any where it will work all the forum ...include the home page vbadvanced .

phovanxua
26 Nov 2006, 22:18
I like to see it work with FF and share with all people here .

Anyone here can do it ?


Look for the zip file below if you can make it work with FF ,also in that zip file there is images snow ...it's look better .

Shazz
26 Nov 2006, 22:59
^I don't think your allowed to post someone elses Modification without there permission..

Ev!L ErN!E
26 Nov 2006, 23:34
I did not write the snow java script, so I can't really help you with adding new things into it, like light bulbs and what not... but really if you want to search google for snow effect java scripts that are more to your liking you can do the edits I posted and just replace the "snow.js" with your own. As posted by someone else though, the larger the flakes the more lag your forum will have, thats why I used this script, its small and loads nicely.

phovanxua
26 Nov 2006, 23:44
^I don't think your allowed to post someone elses Modification without there permission..


Thanks for remind me ...I copy it from here ...and the person who post it said :" Share the fun"

You feel free to look over here : http://www.++++++.org/forums/showthread.php?t=1247&highlight=snowflake

If you know this mod came form some one else ...let me know ...i'll take it off ...so far ...I know I got that mod from there .

Enjoy now .

Shazz
26 Nov 2006, 23:59
I did not write the snow java script, so I can't really help you with adding new things into it, like light bulbs and what not... but really if you want to search google for snow effect java scripts that are more to your liking you can do the edits I posted and just replace the "snow.js" with your own. As posted by someone else though, the larger the flakes the more lag your forum will have, thats why I used this script, its small and loads nicely.

You didn't write this snow.zip script?
Errrm who did

WAHMama
27 Nov 2006, 11:43
woohoo I love it...I made it snow :)

jcfuller
27 Nov 2006, 17:18
By the way if you add the script to bottom footer any where it will work all the forum ...include the home page vbadvanced .

Tried that as well and still not showing on vbadvanced cmps page. Anyone else got an idea on how to make this work? The rest of the forum snows like mad.;)

Optimus-JD
27 Nov 2006, 23:04
haha, pretty funny. I installed it. http://www.thetfrealm.com

Hornstar
28 Nov 2006, 08:02
nice work, looks real good.

Natalie@Club
28 Nov 2006, 10:26
This a fabulous extra, thank you :D

Mr Pink
28 Nov 2006, 18:54
LOL! It's a beautiful effect!
I will use it! :D
Thanks.

Mr Pink
28 Nov 2006, 22:41
Hey, how can I make this flakes more big? I need also to make them more obscure..

*sorry for my bad english*

Josh1
29 Nov 2006, 00:49
Used this last year, thanks.

edit:
And does this one make the browser use a sh*t load of resources like last time?

Ev!L ErN!E
29 Nov 2006, 01:55
It doesn't use images for the snow effect, so its very easy on any browser and it shouldn't slow down your forums at all because of that.

Delw
29 Nov 2006, 07:53
for the Vbadvanced CMPS all you need to do is add the snow.js file to your root directory. and it works just fine.

Note: I have it added to my root Dir and My forum root Dir. I just tried it out and it worked. I am sure it can be placed in one dir and the code be edited to a more specific address Again I dont know cause I havent tried it and it was easier just to add it to my main root also at the time

<!-- Start Snow For Christmas Code -->
<script type="text/javascript" src="http://www.your website .com/snow.js"></script>
<!-- End Snow For Christmas Code -->

Spiffware
29 Nov 2006, 11:43
learn about the snowflake.js here you can change the snow flake yourself here: http://www.peters1.dk/webtools/javascript/sne.php?sprog=en

DARKSTARVB
29 Nov 2006, 21:57
Thanks bud :D

Looks sweet on a dark skin

jcfuller
01 Dec 2006, 05:54
for the Vbadvanced CMPS all you need to do is add the snow.js file to your root directory. and it works just fine.

Thanks bro, worked great. :D

Mr Pink
01 Dec 2006, 13:36
Hey, how can I make this flakes more big? I need also to make them more obscure..

*sorry for my bad english*

Can somebody help me? I need it now becouse I will put online Xmas Style for my forum, and I would have included this great feature..

gamerzindo
01 Dec 2006, 23:41
niceee thanks... instal.. working 3.6.3

alawee.blawee
02 Dec 2006, 17:04
it worked with me but i have a problem

its not fixed for a spacified resolution becuase it sometimes shows me bar for moving left and right

what can i do to fix it guys?

pedroenf
03 Dec 2006, 02:32
Why never custom plugins for Opera browser too? Never understad it.

PoetJA-1975
03 Dec 2006, 04:36
Why never custom plugins for Opera browser too? Never understad it.

:alien: This template mod does indeed work with Opera ;)

Aleah
03 Dec 2006, 04:58
where is my root directory ?


TIA

erkme73
03 Dec 2006, 13:41
One level above your /forums directory

Calibre_k
03 Dec 2006, 20:39
How can we make snowflakes bigger?

HUMMERh3
04 Dec 2006, 00:38
Yes I would like to know how to make more flakes...I tried adjusting the variable up to 8000 but didn't notice any difference in the number of flakes please help...I told my members that there was going to be a big snow storm at our forums :)

var num = 40; //Number of flakes
var timer = 30; //setTimeout speed. Varies on different comps

thpoul
04 Dec 2006, 20:57
if (d.documentElement.style &&
typeof d.documentElement.style.MozOpacity == "string")
num = 12;

Change that 12 into what you want to have more flakes....

for (i = 0; i < num; i++){
sfs[i] = Math.round(1 + Math.random() * 1);

() * 3 to have some thicker flakes


BUT....this will make your site go REALLY slow so I don't suggest it..

extremebetas
04 Dec 2006, 21:23
Not if you have fast server LOL

Mr Pink
04 Dec 2006, 22:05
Change that 12 into what you want to have more flakes....



() * 3 to have some thicker flakes


BUT....this will make your site go REALLY slow so I don't suggest it..

Thanks.

Ev!L ErN!E
05 Dec 2006, 01:54
where is my root directory ?


TIA

put the snow.js in the folder where your forums are installed

most likely "/forums" or "/forum"

fränk
05 Dec 2006, 07:39
great stuff!

how about just adding it to the header above the navbar? possible?

thanks. frank

alawee.blawee
05 Dec 2006, 10:04
Sir

I applyed your hack but I'm having a problem with the page size

shown in the attachment below


can you help me please fixing it?

thpoul
05 Dec 2006, 14:35
great stuff!

how about just adding it to the header above the navbar? possible?

thanks. frank

Check www.phoenix-radio.gr ......it's snowing everywhere :p

Ev!L ErN!E
06 Dec 2006, 05:01
Sir

I applyed your hack but I'm having a problem with the page size

shown in the attachment below


can you help me please fixing it?


I don't see how this hack could be causing your problem...

alawee.blawee
06 Dec 2006, 08:30
I don't see how this hack could be causing your problem...

i think its something in the movement of the snow coz when the snow changes its diraction from right to left this thing happens

thpoul
06 Dec 2006, 11:49
The problem is at the X direction of the snow since it keeps on changing every (30 by default) seconds.

It does the same thing to me too cause I have pasted it above the header but it doesn't bother me at all :p

alawee.blawee
06 Dec 2006, 17:18
The problem is at the X direction of the snow since it keeps on changing every (30 by default) seconds.

It does the same thing to me too cause I have pasted it above the header but it doesn't bother me at all :p

so can't we fix the problem?
any java scripter here?

Betablocker
06 Dec 2006, 19:05
Problem i have found is....

I run StonyArc's vbgooglemap Hotspot Edtion and when you add this script then all but 3 of the flags (hotspots) dissapear and if you stay with either firefox or ie open at the hotspot page then the cpu process will be 99%

Take it off then all is well

Other than that works fine.

Any ideas?

vb 3.6.4
1.4 hotspot
CMPS v2.2.1

alyster4k
07 Dec 2006, 04:01
cool :up:

Does anyone know how to make it show on the vBadvanced CMPS portal?

Add to the "adv_portal" template under head. Make sure the file is in the right place too.

jndeakin
07 Dec 2006, 13:25
Hi Ernie,
just tried looking at your site as given in the snow.js file (ie http://www.btinternet.com/~kurt.grigg/javascript ) All I got was a BT login screen. Have you moved it and forgotten to update your file?

Set it up today. Nicely seasonal :) Are you going to do another with falling Easter-Eggs next Spring? lol

wobbly
08 Dec 2006, 11:12
Great stuff. However some users are complaining of CPU usage upto 100% when I have this script on my forums. Is thare anything I can do to reduce this as its actually interfering with them typing a post, for example: Missing characters out as they type.

thpoul
08 Dec 2006, 12:59
Great stuff. However some users are complaining of CPU usage upto 100% when I have this script on my forums. Is thare anything I can do to reduce this as its actually interfering with them typing a post, for example: Missing characters out as they type.

:p tell them that it's high time they bought a new pc....

wobbly
08 Dec 2006, 16:49
Hehehe, I did tell them that they should rid themselves of their present calculator and get a PC :laugh:

phonexpo
12 Dec 2006, 01:50
Installed and working perfect of 3.6.4. ;)

Thanks !!!

packetattack
12 Dec 2006, 06:04
Works great!

Installed at http://forums.nycmaximas.org

I'm running vBull v3.6.4 as well.

Ev!L ErN!E
15 Dec 2006, 22:46
Works great!

Installed at http://forums.nycmaximas.org

I'm running vBull v3.6.4 as well.


looks good =)

iran.gs
16 Dec 2006, 04:00
Installed Ty works prefect on 3.64 firefox

ryanchua
18 Dec 2006, 07:44
For those with white background forums, you may wish to change this line:

+sfs[i]+'px;height:'+sfs[i]+'px;background-color:#ffffff;font-size:'+sfs[i]+'px"><\/div>');

TO

+sfs[i]+'px;height:'+sfs[i]+'px;background-color:#a9a9a9;font-size:'+sfs[i]+'px"><\/div>');

This makes the flakes visible yet not intrusive!

Great modification!

vbreal
21 Dec 2006, 05:26
thanks this will look good with my holiday style

yingzhou
21 Dec 2006, 06:58
the demo site is not working. :(

wii
21 Dec 2006, 09:07
Thanks, works perfectly in IE and Firefox.

digital_sc4rz
21 Dec 2006, 23:03
Thankyou:)

digital_sc4rz
21 Dec 2006, 23:04
The demo site is working :cool:

the demo site is not working. :(

blackpheonix
30 Dec 2006, 16:52
http://www.vbulletin.org/forum/showthread.php?t=99991 i brought this out about a year ago now but teh community worked together and helped me make it a lil better it has big flakes but im not 100% sure if it works with vb 3.6

to mod creator sorry for hijacking your post but alot of ppl asked for big flakes i know its a lil late now but you dont have to use it just with snow u can have smilies etc i have added some files in the .zip file

Aleah
05 Jan 2007, 15:18
One level above your /forums directory

thanks

Tralala
13 Feb 2007, 08:16
I tested the demo in Safari (for Mac) and it appears to work fine as well, FWIW.

4x4 Mecca
01 Apr 2007, 18:05
Installed for April Fools

Trickster303
10 Nov 2007, 03:58
Works just fine for me! Thanks

Wanted to make more snow, and made changes as such in the java script:

var num = 100; //Number of flakes
var timer = 30; //setTimeout speed. Varies on different comps

But nothing changed. Any suggestions as to get more flakes? Size is fine.
Thanks

ChU v2
10 Nov 2007, 07:11
Works just fine for me! Thanks

Wanted to make more snow, and made changes as such in the java script:

var num = 100; //Number of flakes
var timer = 30; //setTimeout speed. Varies on different comps

But nothing changed. Any suggestions as to get more flakes? Size is fine.
Thanks

I have a complete template that I'll be releasing in the next month with snowflakes on the header. It's not Java, it's actually an HTML marquee and is completely editable to make as much snow as you want.

Check back for it :D

yingzhou
10 Nov 2007, 16:35
Whow, thanks bro!!! Waiting for your skin for this Christmas.

irfreedownload
11 Nov 2007, 20:39
hi . it work on 3.6.8 ?

slednutz.com
15 Nov 2007, 06:15
Any way to put this on only 1 forum?

ByG SteAm
28 Nov 2007, 16:43
Where is the forum Root on FTP?

skcyber
30 Nov 2007, 11:25
Under IE7 it crash my computer ... :(

Greek76
30 Nov 2007, 12:56
Works great with vb 3.6.7 and using IE7. Thanks for the mod..

paulmjno
01 Dec 2007, 13:50
I tested the demo in Safari (for Mac) and it appears to work fine as well, FWIW.

It doesn't work well on Safari at all. It creates horizontal scrollbars.

Sandy-XXX
03 Dec 2007, 18:23
Working on 3.6.8 level 2...

But I want the snow more big. It´s possible?

nyunyu
03 Dec 2007, 19:45
Works on 3.5.4..Thanks

Ohiosweetheart
04 Dec 2007, 04:11
I use this with my Christmas designs, works like a charm!

Hanoifishing
08 Dec 2007, 03:25
Is the snow bigger? Such as a flower snow?

Stryker412
10 Dec 2007, 17:22
I have an odd issue. I've loaded my website in both IE and FF. It appears to have more snow on IE, anyone know why?

www.shatteredplanet.org

henners
11 Dec 2007, 11:03
Used this in conjunction with another, larger snowflake, design. IE users get that one, but everyone else can use this because it wonderfully works with firefox! Cheers buddy!

redtaz
11 Dec 2007, 23:16
Any way to allow users to turn this on/off?

pericolosogr
12 Dec 2007, 01:00
works perfect in internet explorer and safari...
in firefox it lags a lot and when you change the number of flakes nothin happens, changes wont take effect....but they will appear to change in IE and Safari!

Pleaseee do something for safari!:D
Thanx a lot!

nyunyu
12 Dec 2007, 13:33
Work well in 3.5.4.

Now upgraded to 3.6.8PL2 and the snow still work.

demo, click on the link on my signature. :D

NissanClub
14 Dec 2007, 00:30
Looks pretty good! Thanks a lot :)

ChU v2
14 Dec 2007, 03:59
Non java version:

http://www.vbulletin.org/forum/showthread.php?t=164253

ssandgirls
15 Dec 2007, 04:33
Thankyou... I put that on my main page, :D

MotMann
16 Dec 2007, 10:26
How i can Fix the wide size? There flakes goes out of the browserwindows, thats makes problems with Safari.

UltraFanatics
20 Dec 2007, 18:38
Awesome, well done!

TechLines
22 Dec 2007, 18:20
I cant find the forum root where is it

Ahsin1
25 Dec 2007, 08:56
mine site is

vBulletin® Version 3.6.4

how it work on that ?

al.vb
26 Dec 2007, 12:23
it works on 3.6.8, no problems. thanks a lot.

Ohiosweetheart
01 Nov 2008, 22:33
I really wish that someone would make an update for this mod, and add an option for changing the color of the snow so you can use it on a light holiday background.

Davidspl
22 Nov 2008, 15:51
Snow is white thou...

Works fine on 3.7.3 , thanks :D

G-man561
25 Nov 2008, 00:45
very nice. Thanks man.

oldfan
29 Nov 2008, 02:41
thanks :)

angelpie
30 Nov 2008, 19:39
hmmm not sure if i am doing this right? i cant get it to work! maybe im putting it in the wrong area in the ftp? i know its root its just been so long since i edited! the root is your public html area right? lol probably not

viper357
02 Dec 2008, 14:45
Any idea how to get this working on 3.6.12 in Firefox 3? It's running perfectly in IE. Please :)

Ev!L ErN!E
06 Dec 2008, 00:32
hmmm not sure if i am doing this right? i cant get it to work! maybe im putting it in the wrong area in the ftp? i know its root its just been so long since i edited! the root is your public html area right? lol probably not
Your forums 'root' is the main folder that contains your forum files (ie the folder you installed your vB into)... so in your ftp look for the forum folder, or whatever the folders name is that you installed vB into, click on it and place the .js file in that folder and then do the edit in your stylemanger as explained above.

Hope that helps...

As for the problem with Firefox I do not know... I only use IE 7, sorry.

exel
07 Dec 2008, 18:33
Awesome :)

princeedward
07 Dec 2008, 19:27
thanks... ;)

TheLastSuperman
07 Dec 2008, 21:58
LOL, I see DD is everywhere :D

Anyways same idea, another thread ;)

http://www.vbulletin.org/forum/showpost.php?p=1680331&postcount=28

S-MAN

Trickster303
08 Dec 2008, 00:06
Works just fine for me! Thanks

Wanted to make more snow, and made changes as such in the java script:

var num = 100; //Number of flakes
var timer = 30; //setTimeout speed. Varies on different comps

But nothing changed. Any suggestions as to get more flakes? Size is fine.
Thanks

Time to start the Xmas theme skin up again, and I have this mod on the skin. I asked last xmas if anyone had successfully increased the number of flakes as per above, and I see there have not been any responses, so will check again. Has anyone had any luck? If so how, as nothing changes by adjusting like I said above.
I don't want .gif images falling down the screen, I like this mod.
Appreciated.
Thanks

TheLastSuperman
08 Dec 2008, 00:16
Time to start the Xmas theme skin up again, and I have this mod on the skin. I asked last xmas if anyone had successfully increased the number of flakes as per above, and I see there have not been any responses, so will check again. Has anyone had any luck? If so how, as nothing changes by adjusting like I said above.
I don't want .gif images falling down the screen, I like this mod.
Appreciated.
Thanks

In the snow.js file, find:

//Configure here.

var num = 40; //Number of flakes
var timer = 30; //setTimeout speed. Varies on different comps

//End.

And change to suit your needs, just remember it may look better w/ more but some members may not like toooo much ;).

That SHOULD work.... not sure why not?

S-MAN

Edit: Here's a newer version of the script:

//Snow - http://www.btinternet.com/~kurt.grigg/javascript

if ((document.getElementById) &&
window.addEventListener || window.attachEvent){

(function(){

//Configure here.

var num = 30; //Number of flakes
var timer = 30; //setTimeout speed. Varies on different comps
var enableinNS6 = 1 //Enable script in NS6/Mozilla? Snow animation could be slow in those browsers. (1=yes, 0=no).

//End.

var y = [];
var x = [];
var fall = [];
var theFlakes = [];
var sfs = [];
var step = [];
var currStep = [];
var h,w,r;
var d = document;
var pix = "px";
var domWw = (typeof window.innerWidth == "number");
var domSy = (typeof window.pageYOffset == "number");
var idx = d.getElementsByTagName('div').length;

if (d.documentElement.style &&
typeof d.documentElement.style.MozOpacity == "string")
num = 12;

for (i = 0; i < num; i++){
sfs[i] = Math.round(1 + Math.random() * 1);

document.write('<div id="flake'+(idx+i)+'" style="position:absolute;top:0px;left:0px;width:'
+sfs[i]+'px;height:'+sfs[i]+'px;background-color:#ffffff;font-size:'+sfs[i]+'px"><\/div>');

currStep[i] = 0;
fall[i] = (sfs[i] == 1)?
Math.round(2 + Math.random() * 2): Math.round(3 + Math.random() * 2);
step[i] = (sfs[i] == 1)?
0.05 + Math.random() * 0.1 : 0.05 + Math.random() * 0.05 ;
}


if (domWw) r = window;
else{
if (d.documentElement &&
typeof d.documentElement.clientWidth == "number" &&
d.documentElement.clientWidth != 0)
r = d.documentElement;
else{
if (d.body &&
typeof d.body.clientWidth == "number")
r = d.body;
}
}


function winsize(){
var oh,sy,ow,sx,rh,rw;
if (domWw){
if (d.documentElement && d.defaultView &&
typeof d.defaultView.scrollMaxY == "number"){
oh = d.documentElement.offsetHeight;
sy = d.defaultView.scrollMaxY;
ow = d.documentElement.offsetWidth;
sx = d.defaultView.scrollMaxX;
rh = oh-sy;
rw = ow-sx;
}
else{
rh = r.innerHeight;
rw = r.innerWidth;
}
h = rh - 2;
w = rw - 2;
}
else{
h = r.clientHeight - 2;
w = r.clientWidth - 2;
}
}


function scrl(yx){
var y,x;
if (domSy){
y = r.pageYOffset;
x = r.pageXOffset;
}
else{
y = r.scrollTop;
x = r.scrollLeft;
}
return (yx == 0)?y:x;
}


function snow(){
var dy,dx;

for (i = 0; i < num; i++){
dy = fall[i];
dx = fall[i] * Math.cos(currStep[i]);

y[i]+=dy;
x[i]+=dx;

if (x[i] >= w || y[i] >= h){
y[i] = -10;
x[i] = Math.round(Math.random() * w);
fall[i] = (sfs[i] == 1)?
Math.round(2 + Math.random() * 2): Math.round(3 + Math.random() * 2);
step[i] = (sfs[i] == 1)?
0.05 + Math.random() * 0.1 : 0.05 + Math.random() * 0.05 ;
}

theFlakes[i].top = y[i] + scrl(0) + pix;
theFlakes[i].left = x[i] + scrl(1) + pix;

currStep[i]+=step[i];
}
setTimeout(snow,timer);
}


function init(){
winsize();
for (i = 0; i < num; i++){
theFlakes[i] = document.getElementById("flake"+(idx+i)).style;
y[i] = Math.round(Math.random()*h);
x[i] = Math.round(Math.random()*w);
}
snow();
}


if (window.addEventListener){
window.addEventListener("resize",winsize,false);
window.addEventListener("load",init,false);
}
else if (window.attachEvent){
window.attachEvent("onresize",winsize);
window.attachEvent("onload",init);
}

})();
}//End.

You can copy then paste over the contents of your snow.js and try it then. Perhaps it's just an issue w/ you needing to clear your cookies/cache etc after you change and re-upload the file. Try that and post back however changing the variables should work!

kylek
09 Dec 2008, 04:32
Works fine with 3.8.0 Beta 4!

Stryker412
10 Dec 2008, 15:55
Same issue last year, on FF there are no where near as many flakes as IE.

gopherhockey
15 Dec 2008, 19:49
no go for me and IE7. Its complaining about r.clientheight being null or not defined.

Googled this and found others with the same issue but no resolution.

Collectors
17 Dec 2008, 18:01
This mod didn't work for me (vB 3.7.4, FireFox 3.0.5 and Explorer 7) but this one does: http://www.dynamicdrive.com/dynamicindex3/snownoimages.htm

Isn't that the same mod?

UKCE_Hitman
18 Dec 2008, 21:21
INstalled thanks

Madlike
27 Dec 2008, 17:08
Thank you. İt's nice. :)

kimmie-99
28 Jan 2009, 13:28
Love it! Is there anyway to make the flakes larger?

g4dual
15 Dec 2009, 10:08
Installed. Thank you! :)

WildFire.ca
18 Dec 2009, 06:38
Best looking one out there, Thx

MrBrightSide
27 Nov 2012, 13:42
Does anyone know if this works for 4.2?

Benedicte
02 Oct 2013, 12:48
I love this. But it dont work with Firefox.
So I had to deleted it, cos many of my members use FF...