Hi , Christmas Is coming , you should be looking for ways to decorate your network.
Why not make your Ning SNOW?
(p/s original post by Mat on Christmas Snow : Make it rain - Tip , this tip will be using the same script from Mat's post but one more script that enables on/off function)
Just copy the two scripts below and paste it into your Custom Code:
<script type="text/javascript" src="http://elsodev.com/projects/snow/snowstorm-min.js"></script>
<script type="text/javascript" src="http://elsodev.com/projects/snow/settings-dpro.js"></script>
(p/s i have hosted snowstorm-min.js from SchillMania on my server elsodev.com)
The first script is the core script that enables snow using jQuery in your site
while,
the second script that i made enables members to Turn On/Off the snow(as some members may not like the snowing effect)
It will inject a button just below your network Ning bar and stay in a fixed position(you can change it in CSS).
CSS , place this css code into your Design Studio/Appearance:
#snow-btn{
position:fixed;
top:50px;
left:-20px;
padding:10px 20px 10px 30px;
background-color:rgba(0, 0, 0, 0.7);
-webkit-border-top-right-radius: 5px;
-webkit-border-bottom-right-radius: 5px;
-moz-border-radius-topright: 5px;
-moz-border-radius-bottomright: 5px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
display:block;
color:#ddd!important;
text-decoration:none!important;
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#B2000000,endColorstr=#B2000000);
}
#snow-btn:hover{
color:#fff!important;
left:0px;
background-color:rgba(0, 0, 0, 1);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#FF000000,endColorstr=#FF000000);
}
This is the CSS for the On/Off button.
NOTE!
This script (http://elsodev.com/projects/snow/settings-dpro.js) disables snow storm on profiles , if you want it to snow in profiles too , change it to
http://elsodev.com/projects/snow/settings-epro.js
And , if you enabled it on profiles , you will need to add the css into Custom code like this:
<style type="text/css">
#snow-btn{
position:fixed;
top:50px;
left:-20px;
padding:10px 20px 10px 30px;
background-color:rgba(0, 0, 0, 0.7);
-webkit-border-top-right-radius: 5px;
-webkit-border-bottom-right-radius: 5px;
-moz-border-radius-topright: 5px;
-moz-border-radius-bottomright: 5px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
display:block;
color:#ddd!important;
text-decoration:none!important;
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#B2000000,endColorstr=#B2000000);
}
#snow-btn:hover{
color:#fff!important;
left:0px;
background-color:rgba(0, 0, 0, 1);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#FF000000,endColorstr=#FF000000);
}
</style>
Why ? because some members have different CSS codes for their profiles , that means your site main css will not be used on their profiles.
That's all!
Hope you like it and enjoy your holidays.
Check out my other post as well :
Tags:
Permalink Reply by Ash Ketchum [01] on December 24, 2011 at 6:38am i don't know how to use it <.< my ning it's in italian
I'm not sure what Custom Code is called in Italian. but it is where you put the scripts and google analytics code.
Permalink Reply by Ash Ketchum [01] on December 24, 2011 at 7:39pm Thanks ^^
Permalink Reply by Ryan Sayer on November 18, 2012 at 1:30pm Awesome!
Permalink Reply by MICHAEL GRIST on November 18, 2012 at 1:48pm THANKS
Permalink Reply by Angela Soto on November 18, 2012 at 4:46pm Thank you! Used it on underworldrp.com
Permalink Reply by Ryan Sayer on November 19, 2012 at 1:34pm it would be super cool if there was a way to have the snow pile up at the bottom every so often.
Anyone know if this is possible?
Permalink Reply by Tim Atkinson on December 5, 2012 at 5:37am Excellent - thank you very much, Elson!

Permalink Reply by Patrick Chappelle on December 24, 2012 at 10:20am Thank you Elson!

Kos replied to SweetPotato's discussion 'Suggestion: Social Channels Page Titles and Title Tags' in the group The Sandbox
Kos replied to Enrrico Torres's discussion 'Change Domain Name'
Kos replied to Enrrico Torres's discussion 'Change Domain Name'
Enrrico Torres replied to Enrrico Torres's discussion 'Change Domain Name'
Kos replied to Enrrico Torres's discussion 'Change Domain Name'
Indrie Florin Gabriel replied to Indrie Florin Gabriel's discussion 'Latest Activity'© 2013 Created by Ning.
