Socket
Book a DemoInstallSign in
Socket

raining-phones

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

raining-phones

A jQuery plugin to generate Raining phones

latest
Source
npmnpm
Version
0.0.0
Version published
Maintainers
1
Created
Source

Raining-phones

Have you seen the movie "Cloudy with a Chance of Meatballs"?

Ever wonder if there is a raining phones so that every one can get a free phone? You heard right, folks... FREE!!!

Don't wanna line up at Apple store?

There we go. I made this jQuery plugin for you :)

How to use it

Lucky for you, implementation is really simple.

  • Load jQuery
  • Load rainingPhones.js
  • Call rainingPhones() on jQuery object $('body').rainingPhones();

That's basically it :)

Settings

Setup an array of object as follow structure

var settings = {

maxPhones: 20,

// In sec

spawingGap: 0.1,

// In pixel

height: 700,

// In sec

appearTime: 2

};

Then pass it as an argument

$('body').rainingPhones(settings);

What're you waiting for??? It's time to get your favourite phone!!!

Keywords

jquery-plugin

FAQs

Package last updated on 08 Apr 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts