Yahoo Answers is shutting down on 4 May 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

How can I fix this snow falling Javascript to appear as a background element?

How can I edit the following snow falling effect so that it appears as the background of my html behind all other elements? I've tried adjusting zindex position but it doesn't work. I'm looking to overlay this effect over an existing website background image.

I will Paypal donate to the person who provides a working answer. Thanks.

Javascript: --> http://rainbow.arch.scriptmania.com/scripts/bg/sno...

1 Answer

Relevance
  • 8 years ago

    Copy paste your code .

    The change is in line

    if (snow[i].posy>=marginbottom-2*snow[i].size || parseInt(snow[i].style.left)>(marginright-3*lftrght[i]))

    replace >= with <= it work for me

    Have tried ... .style ="opacity = 0.95 ;....." combined with z-index ?

Still have questions? Get answers by asking now.