Jump to content
Latest News: (loading..)
Sign in to follow this  

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/





Share this post

Link to post
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!


I'm using oscommerce Edge v2.3.4.1

Get here the latest osCommerce Online Merchant Community Bootstrap Edition v2.3.4.1 CE

Share this post

Link to post
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


Edited by beerbee

Share this post

Link to post
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.


Share this post

Link to post
Share on other sites

You can mix things up and send a message to your customers , Try this.😊

"❄","⁕","Merry Christmas","❆","*"," &#127877 "

and have santa drop in. 😂


Edited by JcMagpie


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this