Commit a586470b by doszhang

dos

parent 3be7ff1e
...@@ -114,7 +114,7 @@ function createALeaf() ...@@ -114,7 +114,7 @@ function createALeaf()
var image = document.createElement('img'); var image = document.createElement('img');
/* Randomly choose a leaf image and assign it to the newly created element */ /* Randomly choose a leaf image and assign it to the newly created element */
image.src = window.base_resource_url + '/image2/snow-' + randomInteger(1, 3) + '.png'; image.src = window.base_resource_url + '/image2/snow-' + randomInteger(1, 3) + '.png';
leafDiv.style.top = "-5rem"; leafDiv.style.top = "-100px";
/* Position the leaf at a random location along the screen */ /* Position the leaf at a random location along the screen */
leafDiv.style.left = remValue(randomInteger(0, 500)); leafDiv.style.left = remValue(randomInteger(0, 500));
/* Randomly choose a spin animation */ /* Randomly choose a spin animation */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment