1.0.1 • Published 9 years ago

shiftbox v1.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

SHIFTBOX

####Simple and clever way to display large images on ANY screen

##What is Shiftbox?

Shiftbox is a jQuery plugin to display single or gallery of images of any size on any screen. This is fully responsive on-layer image display.

##Installation

###Install with NPM module (Node.js) > npm install dszczer/shiftbox

###Copy from Git Simply copy files from dist directory.

##Basic usage

###Place as many images as you wish

<!-- with thumb -->
<a href="image.jpg" data-toggle="shiftbox" data-gallery="example">
    <img src="image_thumb.jpg" alt="Image" title="Image" class="img-responsive">
</a>

<!-- or simply a link -->
<a href="image.jpg" data-toggle="shiftbox" data-gallery="example">Zoom Image</a>

###Initialize with default options

<script type="text/javascript">
    $('[data-toggle=shiftbox]').shiftbox();
</script>

###Custom options See /docs for more details.

##Limitations Currently, Shiftbox is available only for Bootstrap 3 Modal bundle (require modal CSS and JS to work).

1.0.1

9 years ago

1.0.0

9 years ago