justifiedjt90 3 Posted December 2, 2015 Posted December 2, 2015 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
MerseyRay 26 Posted December 3, 2015 Posted December 3, 2015 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
justifiedjt90 3 Posted December 4, 2015 Posted December 4, 2015 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
MerseyRay 26 Posted December 4, 2015 Posted December 4, 2015 (edited) 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 December 4, 2015 by MerseyRay (see edit history) Share this post Link to post Share on other sites
Recommended Posts