I’m using a plugin that simulates snowfall. I want the user to be able to trigger this on and off. I can get toggle to start the snowfall, I’m just not sure how to turn it off. Here’s what I got:
// LET IT SNOW
$('.let-it-snow').toggle(function(){
$('body').snowfall({flakeCount : 50});
}, function(){
//this is the part I need help with...
});
Thanks
If you use this plugin: