Results 1 to 3 of 3

Thread: Help With Floating Snow

  1. #1
    Join Date
    Jul 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Help With Floating Snow

    I don't know how to do it. My Snow/Bubble floating images work it is just i want to randomize the images that float upwards.
    It is this one http://dynamicdrive.com/dynamicindex3/bubble.htm and i'm wondering how to change the image and make only one go up at a time but change the image that goes up into like a smaller or larger bubble/snowflake.
    Help!

  2. #2
    Join Date
    Mar 2006
    Location
    Cleveland, Ohio
    Posts
    574
    Thanks
    6
    Thanked 5 Times in 5 Posts

    Default

    Ok, not sure if I totally understand you...

    But in order to change the images, you have to edit these lines of code in the javascript:

    Code:
    snow[0] = "bubble.gif"
    snow[1] = "bubble.gif"
    snow[2] = "bubble.gif"
    there could be up to three different images floating around.

    Then, to change the number of images at one time:

    Code:
    var no = 15; // image number or falling rate
    And finally, to change the speed of the falling images:

    Code:
    var speed = 2; // the lower the number the faster the image moves
    Hope this helps?

  3. #3
    Join Date
    Jul 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    That isn't what i'm looking for i know how to do that bt i'm just wondering how to make 1 image float up at a time and randomize that image with a different one in a cycle. I understand adding images but I only want one image to change and float up at a time.

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
  •