Make Your Website Look Christmassy (Snowing Effect)

Discussion in 'Website Development & Design' started by Constantin, Dec 17, 2014.

  1. Constantin

    Constantin
    uix_expand uix_collapse
    Member

    Joined:
    Jun 20, 2013
    Messages:
    213
    Likes Received:
    86
    I have just received an email from OpenCart letting me know how I can make an e-commerce website look more Christmassy. In fact, it works on any kind of website and I thought that maybe some of you may be interested to add this to their websites.

    Click Here to See a Test I Have Made

    To obtain the snowing effect, copy the code below and paste it in the head section of your website, just before </head>:

    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
    <script src="//static.aljtmedia.com/uploads/javascript/jQuery.snow.min.js"></script>
    <script>
    $(document).ready(function(){
    $.fn.snow({
    minSize: 5, // Minimumsize of the snowflake (px)
    maxSize: 25, // Maximum size of the snowflake (px)
    newOn: 350, // Frequency they fall (ms)
    flakeColor: '#FFF' // Colour of the snowflake
    });
    });
    </script>


    However, it did not work on the websites where I have SSL certificates installed, so if anybody can help me with that, it will be much appreciated :).

    Thanks!
     
    • Like Like x 1

Share This Page