coolzoom
Version:
Coolzoom is a jQuery plugin for displaying enlarged images on webpages. Coolzoom works on desktop, mobiles and tablets.
74 lines (44 loc) • 1.3 kB
Markdown
# jQuery CoolZoom
### JQuery image zoom plugin.
## Usage
1. Include jQuery:
```html
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
```
2. Include plugin's code:
```html
<link href="../node_modules/coolzoom/src/coolzoom.css" rel="stylesheet" type="text/css">
...
<script src="./node_modules/coolzoom/src/jquery.coolzoom.min.js"></script>
```
3. Call the plugin:
```javascript
$("#element").CoolZoom({
propertyName: "a custom value"
});
```
## Structure
The basic structure of the project is given in the following way:
```
demo/
index.html
dist/
coolzoom.min.css
coolzoom.min.js
src/
coolzoom.js
coolzoom.css
```
#### [demo/](http://coolzoom.net/example.html)
Contains a simple HTML file to demonstrate how it works.

#### [src/]
Contains the files to link to in your development platform
#### [dist/]
Files for production.
## Contribute
git clone git@my-centos-server.com:thimpat/jquery-coolzoom.git
## [Website](http://coolzoom.net/)
[http://coolzoom.net/](http://coolzoom.net/)
## License
[MIT License]