Skip to content

Adds a beautiful CSS-based monitor/laptop/phone around your content.

Notifications You must be signed in to change notification settings

tiendan/monitorize.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monitorize.js

A very small jQuery plugin that allows you to present content within a CSS-based monitor/laptop/smartphone design.

Plugin based on the design from Will Paige which in turn is based on Pierre Borodin's design

The result looks like the examples below:

Monitorize.js example

Usage

Include the .js and .css file in your page. Then simply choose your content with jQuery and call the monitorize function.

$("items").monitorize({
    type: "monitor",    // TYPE OF SCREEN: "monitor", "laptop", or "phone"
    base: true,         // DOES MONITOR HAVE A BASE? (Only for "monitor" type)
    shadow: true,       // DOES THE SCREEN HAVE A SHADOW?
    reflection: true,   // DOES THE SCREEN HAVE A SHINY REFLECTION?
    size: "small"       // SIZE OF DESIGN large-small (By default medium size)
 })

All parameters are optional, in the default case you will get the medium sized monitor. For more examples, check the project's GitHub page.

About

Adds a beautiful CSS-based monitor/laptop/phone around your content.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published