Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Recommended Posts

Just a little light hearted fun for the festive season. 😊

JcM Festive Snowfall V1.0 CE BS4/3

A simple add-on to let you add some festive cheer to your website. Will give a falling snow shower all over the website. Can be configured in admin to set quantity, size, speed, color and shape of the snowfall.


Again totally standalone with no core code change. Simply copy all files into relevant sections and go to admin modules /content and install.


Has been tested on CE BS4 and CE BS3. Again can be seen running on the test sites. https://chilleddisplays.co.uk/





Link to comment
Share on other sites

You are a genius Zahid @JcMagpie :)
Many thanks for your contributions to the community!

I already had this addon of yours since last year, but this version is much more complete.

Congratulations and hope others continue your way helping the community!


:heart: Community Oscommerce fan :heart: You'll find the latest osC community version here.


Link to comment
Share on other sites

Hi pretty nice @JcMagpie it works also using unicodes: https://www.alt-codes.net/snowflakes-symbols.php

It  is possible to put each of the the three and also the * in an array and let them get generated randomly. I did this the evil hardcoding way so might see this as a kind of inspiration:

// Set the letter that creates your snowflake (recommended: * )
var snowletter=["❄","❅","❆","*"]


for (i=0;i<=snowmax;i++) {
	var snowlot = snowletter[Math.floor(Math.random()*snowletter.length)];
        document.write("<span id='s"+i+"' style='position:absolute;top:-"+snowmaxsize+"'>"+snowlot+"</span>")

Best regards


Link to comment
Share on other sites

2 hours ago, beerbee said:

var snowletter=["&#10052;","&#10053;","&#10054;","*"]

Just change code to,

var snowletter=[<?php echo MODULE_CONTENT_JCM_SNOWFALL_FLAKE?>]

This way you can still make changes in admin.


Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...