ZoomToo is a jQuery plugin to show case your images with a magnifying lens when hovering.
-
Include jQuery:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
-
Include ZoomToo code:
<script src="dist/jquery.zoomtoo.js"></script>
-
Markup the container element:
<div id="frame" data-src="high_res.jpg"> <img src="low_res.jpg" /> </div>
-
Call the plugin:
$("#frame").zoomtoo({ magnify: 1 });
This plugin is also registered under http://bower.io/ to simplify integration. Try:
npm install -g bower
bower install zoomtoo
jQuery Mask Plugin has been tested with jQuery 1.7.1 on all major browsers:
- Firefox 2+ (Win, Mac, Linux);
- IE7+ (Win);
- Chrome 6+ (Win, Mac, Linux, Android, iPhone);
- Safari 3.2+ (Win, Mac, iPhone);
- Opera 8+ (Win, Mac, Linux, Android, iPhone).
Check CONTRIBUTING.md for more information.
Check Releases for detailed changelog.
MIT License © Sevag Frankian