Results 1 to 3 of 3

Thread: Snow Script

  1. #1
    Join Date
    Dec 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Snow Script

    So its christmas and i was looking for a snow on the background but im really noob in these things to add. could someone explain it in noob Tutorial

    Link! http://www.dynamicdrive.com/dynamicindex3/snow.htm

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    The directions are clear, I think. What is the problem? Save the images to your website, then add the Javascript code to your page.
    You can also look at the "developers view" (or click "view>source") to see how it all fits together in a real page.
    Last edited by djr33; 12-13-2011 at 04:23 AM.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Jan 2009
    Location
    NH
    Posts
    675
    Thanks
    98
    Thanked 26 Times in 26 Posts

    Default

    I just used that today on a website. You just copy the code into the body and it works. You have to save the snowflake.gif in where you upload your website at. If you keep the snowflake.gif in the root directory the code will work as is; if you save the gif to a folder such as images, then change the code of the line to show where the script should locate it.

    This is the line you would change:
    Code:
    //Configure below to change URL path to the snow image
      var snowsrc="snow.gif"
    so if you keep it in images, then you would need the code to say var snowsrc="images/snow.gif"

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •