Effect rain on the site for jquery
Download Effect rain on the site for jquery
Download Effect rain on the site for jquery.
To obtain this effect, we need a small Rainyday.js plugin, with which you can simulate raindrops on the glass, as well as accompany it with some kind of video or sound background. To use this plugin, we need to generate requests, we can have the following: imgur (link to the image), youtube, novideo (show the video or not).
If you want to display video from youtube then remove the novideo = 1 parameter:
To change the image site source, change the line:
image.src="http://i.imgur.com/" + getURLParameter('imgur') + ".jpg";