Changes

From Drawn to Life Wiki
10 bytes added ,  14:40, 15 December 2020
no edit summary
Line 30: Line 30:  
   this.snowCharacter = '•';  // • = bullet, · is square on some systems etc.
 
   this.snowCharacter = '•';  // • = bullet, · is square on some systems etc.
 
   this.snowStick = true;          // Whether or not snow should "stick" at the bottom. When off, will never collect.
 
   this.snowStick = true;          // Whether or not snow should "stick" at the bottom. When off, will never collect.
−
   this.targetElement = null;      // element which snow will be appended to (null = document.body) - can be an element ID eg. 'myDiv', or a DOM node reference
+
   this.targetElement = 'mw-head-base';      // element which snow will be appended to (null = document.body) - can be an element ID eg. 'myDiv', or a DOM node reference
 
   this.useMeltEffect = true;      // When recycling fallen snow (or rarely, when falling), have it "melt" and fade out if browser supports it
 
   this.useMeltEffect = true;      // When recycling fallen snow (or rarely, when falling), have it "melt" and fade out if browser supports it
 
   this.useTwinkleEffect = false;  // Allow snow to randomly "flicker" in and out of view while falling
 
   this.useTwinkleEffect = false;  // Allow snow to randomly "flicker" in and out of view while falling