Snowy est un plugin pour WordPress qui permet de faire tomber quelques flocons de neige sur votre blog. Il ne requiert pas d’image, les flocons sont générés dynamiquement en DHTML.

Snowy is a WordPress plugin that makes some snowflakes fall all over you blog (ideal for the Christmas season !). It does not require any images, everything is dynamically generated via DHTML.

Dernière version / Latest version : 1.1

Install notes

  • Extract all files in /wp-content/plugins/snowy/
  • Activate the plugin

Changelog

  • v1.1 (15 Nov 2006) : fixed the script header.
  • v1.0 (12 Nov 2006) : initial release

Licence

The script is linkware. A link back here would be appreciated if you use the script.
And you can always show your appreciation by clicking the donate button ;-)

Si vous avez trouvé une faute d’orthographe, veuillez nous en informer en sélectionnant le texte en question et en appuyant sur Ctrl + Entrée.

Vous souhaitez réaliser un nouveau projet WordPress ou WooCommerce, ou ajouter de nouvelles fonctionnalités? Ou améliorer les performances de votre site?

Parlons de votre projet »

Articles en rapport:

51 Comments

  1. Matt

    Silvana,

    You can remove those lines : your theme already contains that code :)

  2. Avatar

    Merci beaucoup Matt, j’aime mieux quand on change la valeur en 2 :)

    Bonne journée !

  3. Matt

    Hello,

    Elena > it’s impossible to change without rewriting the script totally. The size and shape of the flakes are generated randomly.

    Dimitri > il est possible d’influer sur la taille des flocons en changeant les valeurs de la ligne 32 du fichier snowy.js :

    sfs[i] = Math.round(1 Math.random() * 1);

    comme ceci par exemple :

    sfs[i] = Math.round(2 Math.random() * 1);

    Note : les flocons sont censés être petits, trop gros ils deviennent pixellisés !

  4. Avatar

    Bonjour,

    J’utilise votre merveilleux script depuis hier, seulement, j’aimerais que les “flocons” qui sont générés soit un peu plus gros. J’espère donc que vous pourrez m’aider à le réaliser. En attendant votre réponse avec impatience,

    Bonne journée.

  5. Avatar

    @==>Matt

    Thank you very much for your answer, but I didn’t want use any picture or .gif!
    I would like this sign ==> ******** (star), if is this possible to change?

  6. Matt

    Hello,

    Elena > the flakes are generated automatically, with different sizes and shapes everytime. If you need a certain picture, you may have more luck with a script that uses pictures.

    Duerre > utilises-tu Safari par hasard ? Ce navigateur semble avoir des soucis avec les redirections :-/ Je t’envoie le fichier sur ta boîte mail.

  7. Avatar

    Ce plugin a vraiment l’air génial, mais lorsque j’essaye de le télécharger, j’obtiens un dossier vide.
    Est-ce moi ou alors un problème de fichier?
    Merci d’avance! ;-)

  8. Avatar

    Hallo, I would like to install, this plugin, but I have a question???
    Can I change the snow from point to this star-sign ==> *
    What I have to change in the code?

    Thank you very much for helping me, I appreciate it!!!!

    Namaste

    Elena

  9. Avatar

    J’ai trouvé !
    I found the solution for FF !
    Just put the do_action() in the right div, not just before de body tag !
    Put it in the inner div.

  10. Avatar

    Hi, thanks for the plugin but actually I got a little problem. On your blog I see the snow on both IE and FF. But when I activated it on this blog I can see them only on IE. Any clue about this ?

    I downloaded from the link above, unzip then upload where it should be.

  11. Matt

    Hello,

    swannivision, footer.php must have the do_action(‘wp_footer’) ; instruction. Your theme seems broken : you have a closing table after the </html> tag

    Rick, I’ve got no idea why it doesn’t work with Firefox. I tried on IE and it appears fine but outputs JS errors. It may be related.

    iKArus : I’m glad it works for you :)

  12. Avatar

    Nice, not so big snowflakes. Works fine in iE and Firefox here, thanks! :)

  13. Avatar

    Mine works in IE but not Firefox. Any suggestions on how to fix this? Thanks for a great seasonal WP plugin, by the way!

  14. Avatar
    swannivision Reply

    hi, I had activated the plugin, but still cannot show the snow effect. Would be great if you can help on this. thx!! ^^

  15. Matt

    Hi,

    Kevin, if you have issues with other plugins too that may explain why it does not work. Pas de quoi :)

    Jasmin : the plugin works out-of-the-box provided conditions are respected :
    – it must reside in /wp-content/plugins/snowy/
    – your theme’s footer.php file must have the do_action('wp_footer'); instruction.

  16. Avatar

    Hi There,
    I followed the instructions and read the comments when I hit a dead end. Unfortunately the script still doesn’t work for me. Is there something I’m doing wrong? Appreciate any help.

  17. Avatar

    Didn’t change a thing sadly,

    and the snow color isn’t the problem since I can see it in IE…

    I really think the problem is an error in my code since other plugins I tried had errors too, I went for the easy bit and added an animated .gif instead.

    Merci de ton aide! :)

  18. Matt

    Kevin, try to redownload the plugin and activate it. The snow might not be very visible on your design, try changing the color of the flakes in the .js file. The CKYF website made them black for instance.

  19. Avatar

    If you check in the .js

    you can tell it to run in firefox or not..

    now i turned the plugin off but before it worked only in IE, though yours works both on IE and FF.

    Maybe I’ve got an error in my code and that’s what makes it not work with FF.

    anyway instead I animated my welcome image with some snow so.. better than nothing!

  20. Matt

    Kevin, everything works the same in IE and Firefox. What do you mean with “I did turn on the option to run the script in firefox” ? The script has no options : you either activate or desactivate it.

  21. Avatar

    just check again and it does work, but only in Intenet, not on firefox!

    even if I did turn on the option to run the script in firefox!

    can you help?

    thanks

  22. Matt

    Barbara, I found your problem : you have put the files in

    You need to put them in :
    snowy/

  23. Avatar

    don’t know where the mistake is and will ask in the German wordpress-forum once. Thanks for the fast answer.

  24. Matt

    Barbara, the .js file should be here :
    .
    Apparently it’s not there (error 404).

  25. Avatar

    Plugin is activated but it doesn’t snow with me unfortunately and I don’t know because of what it is…

  26. Matt

    You’re right Bill, too many flakes hog the page.

    Cliff, try to modify this value to increase the size :

    sfs[i] = Math.round(1 + Math.random() * 1);

  27. Avatar

    That adjusts the amount (which I can’t actually get to work). Is there a way to adjust the size? Thanks.

  28. Avatar
    Bill Gram-Reefer Reply

    I think I goosed the prefs just a little after seeing that making flakes too big or too many really slowed down performance.

    bgr

  29. Matt

    Yes Cliff, simply edit the variables at the beginning of the .js file and you should be set :)

  30. Matt

    Hello, all the plugin files should be located in /wp-content/plugins/snowy/. The script folder name needs to be “snowy” and nothing else (yours is “snow”).

  31. Matt

    I’ll enable the plugin on this site on December 1st :)
    Version 1.1 fixes a bug in the header – you can now upload the whole folder to the plugin directory.

Écrire un commentaire

Spelling error report

The following text will be sent to our editors: