The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Changing of snowflake size

View previous topic View next topic Go down

Solved Changing of snowflake size

Post by Gretta on December 23rd 2014, 2:27 pm

Hi!
I use Angies Code for the snowflakes. Is it possible to change snowflake size in this code? 


Code:
$(function() {
  function initSettings() {
    snowStorm.autoStart = true;
    snowStorm.animationInterval = 33;
    snowStorm.flakeBottom = null;
    snowStorm.flakesMax = 128;
    snowStorm.flakesMaxActive = 64;
    snowStorm.followMouse = true;
    snowStorm.freezeOnBlur = true;
    snowStorm.snowColor = '#FF8';
    snowStorm.snowCharacter = '•';
    snowStorm.snowStick = true;
    snowStorm.targetElement = null;
    snowStorm.useMeltEffect = true;
    snowStorm.useTwinkleEffect = false;
    snowStorm.usePositionFixed = false;
  };
  
  $.getScript("http://illiweb.com/rs4/10/frm/snow.js");
  var timeout = 0, snowCheck = window.setInterval(function() {
    if (typeof snowStorm === 'undefined') {
      if (timeout > 5000) window.clearInterval(snowCheck);
      return timeout++;
    }
    else window.clearInterval(snowCheck), initSettings();
  },1);
});




Forum URL: http://plavi.bigforumpro.com/

Gretta
New Member

Posts : 14
Reputation : 1
Language : german

http://plavi.bigforumpro.com

Back to top Go down

Solved Re: Changing of snowflake size

Post by _Twisted_Mods_ on December 23rd 2014, 7:16 pm

you should just be able to add this to the list

Code:

snowStorm.flakeWidth=20;
snowStorm.flakeHeight=20;


example

Code:
  snowStorm.targetElement = null;
    snowStorm.useMeltEffect = true;
    snowStorm.useTwinkleEffect = false;
    snowStorm.usePositionFixed = false;
snowStorm.flakeWidth=20;
snowStorm.flakeHeight=20;
  };

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Changing of snowflake size

Post by Gretta on December 23rd 2014, 10:59 pm

cheers Thank you very much! Very Happy

Gretta
New Member

Posts : 14
Reputation : 1
Language : german

http://plavi.bigforumpro.com

Back to top Go down

Solved Re: Changing of snowflake size

Post by Ramdaman on December 23rd 2014, 11:00 pm

Topic solved and archived.

Ramdaman
Active Poster

Male Posts : 1614
Reputation : 96
Language : English, Albanian, Macedonian, Russian | HTML, CSS
Location : New York City

http://ndihme.forumotion.com/forum

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum