An open API service indexing awesome lists of open source software.

https://github.com/cuth/body-image

Zoom into the page to view the image close up rather than pulling the image off the page.
https://github.com/cuth/body-image

Last synced: 10 months ago
JSON representation

Zoom into the page to view the image close up rather than pulling the image off the page.

Awesome Lists containing this project

README

          

Body Image
==========

Zoom into the page to view the image close up rather than pulling the image off the page.

Requires jQuery and a modern browser.

Wrap an image element with a anchor element with an href to a larger version of the same image. Use data-width and data-height attributes on the anchor tag to give the image a maximum size.
```html



```

This first parameter is a jQuery collection of anchor elements. Use the second parameter to change the default options.
```js
var example1 = new BodyImage('.examples', {
useArrowKeys: false,
windowLoad: true
});
```