Jump to content
MakeWebGames

Recommended Posts

Posted

Add this code to any page you want it to snow.......

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Upload the snow.gif image to your Images folder... and watch it snow ;)

Posted

Re: [MOD all MCC's] LET IT SNOW

sounds like an awesome mod for christmas I agree, I tried it out, not sure if I added it wrong or something but it was just in one line straight down lol. I will work on it more and figure out what I am doing wrong lol.

Posted

Re: [MOD all MCC's] LET IT SNOW

 

sounds like an awesome mod for christmas I agree, I tried it out, not sure if I added it wrong or something but it was just in one line straight down lol. I will work on it more and figure out what I am doing wrong lol.

yep thats quite true ive given you the basics its up to you to create something from it..

May i suggest Javascript :)

Posted

Re: [MOD all MCC's] LET IT SNOW

Save the code below as snow.js

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

USAGE:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Just to give a hand... this is suitable for darker backgrounds as it uses no images!

Also you can find there an identical script but with image use.

Posted

Re: [MOD all MCC's] LET IT SNOW

 

that is awesome just needs a bit more flakes fallin lol.

You can set the amount of flakes falling...

lol yeah I saw that just hadn't gotten around to it. I also found one with leaves falling. Pretty awesome stuff, looks like I need to spread my learnin to some javascript as well.

Posted

Re: [MOD all MCC's] LET IT SNOW

Heres one that will change snow direction and will also allow your members to Turn the snow off if it gets too much ( now come on its christmas why stop the snow lol )

Script taken from Scott Schiller

create a folder on your FTP called script or you can put it in root but will need a change if you do.

Call this file snowstorm.js this file goes into the script Folder

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Part 1 of 2

Posted

Re: [MOD all MCC's] LET IT SNOW

Part 2 of 2

Now open up your header.php

and add this preferably before your TOP LOGO so its easier to find..

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

On the same File place this where the HTML part starts...

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Notice this bit script/snowstorm.js well if you placed the JS in your root then remove the script/ so its just snowstorm.js

http://www.slave-traders.net/image.zip << your image folder to upload with added images

And upload these images just send the whole folder called image to your FTP

And there you have it

  • 4 weeks later...
Posted

Re: [mccode] LET IT SNOW

Sounds good.

But I can't get it to snow. :| I have made a new folder called script and added the snowstorm.js

I then have a folder called image (not in my script folder). Then in that folder I have the snow folder then in that folder I have all the images. And I have placed the bits of code into the header yet it still won't snow....

Also, if I click on the Change Wind or Stop Snowing link when in FF, nothing comes up, but in IE it comes up with "A runtime error has occured. Do you wish to debug?"

What am I doing wrong?

Posted

Re: [mccode] LET IT SNOW

The Ace

From what i can see you havent uploaded the Image folder to your ftp

if your Using the Cpanel option rather than an FTP uploader create a folder called image and unzip the images to that folder it shuld work then :)

  • 3 weeks later...
Posted

Re: [mccode] LET IT SNOW

how do you make the snow flakes bigger? I dont want to edit it then mess it up lol and I changed the snow flakes to 3000000 and still only a few dropped down

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...