snowflakes in backround for socialengine,
grab the javascript from here: http://susidy.com/include/js/snow.js
or from original source site:
merry christmas, enjoy javascript text snow flakes - class for mootools 1.2.4
im mine js file i have modified the z-index
open header.php and add after:
this code:
then add in header.tpl after or before:
this lines:
demo site: susidy.com
grab the javascript from here: http://susidy.com/include/js/snow.js
or from original source site:
merry christmas, enjoy javascript text snow flakes - class for mootools 1.2.4
im mine js file i have modified the z-index
open header.php and add after:
PHP Code:
// Set the hooks for each of the plugin templates if not using the new hooked template includes (backwards compatibility)
PHP Code:
$smarty->assign_hook('scripts', './include/js/snow.js');
then add in header.tpl after or before:
PHP Code:
<div id="smoothbox_container"></div>
PHP Code:
<div id="snow" style="position:absolute;top:0px;left:0px;width:100%;height:300px;z-index:-30;"></div>
{literal}
<script type="text/javascript">
window.addEvent("domready", function() {
// instigating the class over element with id="snow" and defaults is easy
var Snow = new mooSnow({
container: $("snow")
});
// so is getting rid of the snow:
//Snow.meltSnow();
});
</script>
{/literal}
Comment