Jump to content

Help With Snow Buildup Snowfall Module Nemo


justifiedjt90
 Share

Recommended Posts

Hello,

 

I have one quick question, I have downloaded and installed the Snow Module from Nemo's page which you can find here http://store.nemops.com/free-modules/24-snowfall-module.html#.Vl644XbhDIV . Great one but he says that you can add a build up effect with just some editing to java. I am a noob in these things so I ask for your help. Can anyone please tell me what to do? 

 

Many thanks for your time,

Catalin

Share this post


Link to post
Share on other sites

I havent download this, but looking at the demo, is it something to do with this bit of code ?

function() {
  $(document).snowfall('clear');
  document.body.className = "darkBg";
  $('.collectonme').show();
  $(document).snowfall({
    collection: '.collectonme',
    flakeCount: 250
  });
}

Share this post


Link to post
Share on other sites

So I have to insert that in pssnowfall.js ? my pssnowfall.js now looks like this:

 

$(document).ready(function() {
    $(document).snowfall({
        flakeCount : 100,
        flakeIndex: 999999,
        minSize : 1,
        maxSize : 5,
        minSpeed : 2,
        maxSpeed : 3
    });
});

Share this post


Link to post
Share on other sites

I would imagine you just add this

collection: '.collectonme',

so you would end up with this

$(document).ready(function() {
    $(document).snowfall({
        flakeCount : 100,
        flakeIndex: 999999,
        minSize : 1,
        maxSize : 5,
        minSpeed : 2,
        maxSpeed : 3,
        collection: '.collectonme'
    });
});

then a class="collectonme" would probably be needed on anything you wish the buildup to appear on

 

So if you want buildup on your footer then use

<div class="footer-container collectonme">
Edited by MerseyRay (see edit history)

Share this post


Link to post
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More