-
Notifications
You must be signed in to change notification settings - Fork 0
A jQuery plugin used to put a planet into a div element.
License
stjo15/planetizer
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Planetizer jQuery plugin Installation: Go to the plugin GitHub page. Download the folder and add it to your project. Add <script src='js/planetize.js'><script> to your html with the appropriate path. Add the sample images in a /img folder in your webroot. If you want your own images, you need to add a custom path/filename to your images. Simply use .planetize() on your chosen <div> element as you would any other jQuery method! Example simple code: $('#space').planetize(); Customization: No need to customize, simply use .planetize() if you want the default appearance (Earth). Choose between 'blue', 'green' and 'red' atmosphere. Choose duration of one full circle in milliseconds (ms). Add your own image of a planet, a face or just about anything and .planetize() it! Example customization code: $('#space').planetize({ 'color': 'blue', 'duration': 2000, 'imgurl': 'img/terra.png' }); Simple as that!
About
A jQuery plugin used to put a planet into a div element.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published