Socket
Book a DemoInstallSign in
Socket

shining-phone

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

shining-phone

A jQuery plugin to show off your phone

latest
Source
npmnpm
Version
0.0.0
Version published
Maintainers
1
Created
Source

Shining-phone

Please visit our demo page

shiningPhone.js is a jQuery plugin to show off your phone!

Usages

After including JQuery, simply download and include shiningPhone.js. For example, let's consider adding the following just before your closing </body> tag:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>

<script src='scripts/shiningPhone.js'></script>

With the brunt of the work done, now let's call shiningPhone by:

$('body').shiningPhone();

Options

You can, as you wish, configure the phone by adding

var options = {

phone: 'iphone',

// In sec

animateTime: 10,

infinite: true

};

and call

$('body').shiningPhone(options);

That's it folks!!

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