snowflakes in backround for socialengine

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    snowflakes in backround for socialengine

    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:
    PHP Code:
    // Set the hooks for each of the plugin templates if not using the new hooked template includes (backwards compatibility) 
    this code:
    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
    this lines:
    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
    demo site: susidy.com
    Advertise your mobile site for FREE with AdTwirl


    #2
    pls give me one source code... i understand
    http://www.youtube.com/watch?v=vsLkpcFKbOk

    Comment

    Working...
    X