Jump to content
BaceoIn

Snowflake effect with jQuery


Recommended Posts

  • Administrators
Posted

Here's a quick way to add a snow effect to your IP.Board installation without having to use a plugin, so it works on most versions.

Requirements

Save (CTRL+S) and then Upload the js scripts to your FTP in a location where you can easily find them. For this tutorial we'll just use /uploads/, since my time really digging into IPS4 has been so short i couldn't think of a better location.

 

Inserting the Snow Script (IPS 4)
Go to Customization > Appearance > Themes and hit the "Edit HTML and CSS" button. You should now be in "globalTemplate".

Just before the </head> line, make a new line and copy paste this code:

<script src='/uploads/snowfall.jquery.min.js'></script>
<script>
   $( document ).ready(function() {
     $(document).snowfall({shadow : true, round : true,  minSize: 5, maxSize:8});
     }); 
</script>

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...