coolzoom
v1.1.147
Published
Coolzoom is a jQuery plugin for displaying enlarged images on webpages. Coolzoom works on desktop, mobiles and tablets.
Downloads
17
Maintainers
Readme
jQuery CoolZoom
JQuery image zoom plugin.
Usage
Include jQuery:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
Include plugin's code:
<link href="../node_modules/coolzoom/src/coolzoom.css" rel="stylesheet" type="text/css"> ... <script src="./node_modules/coolzoom/src/jquery.coolzoom.min.js"></script>
Call the plugin:
$("#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/
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 [email protected]:thimpat/jquery-coolzoom.git
Website
License
[MIT License]