Lens Effect Image Zooming with jQuery plugin
Use this jQuery plug-in to add lens style zooming effect to an image
I was searching a good jQuery plug-in for image zooming but couldn't find any which was matching my criteria. I need the lens effect while zooming images and it should work without much plumbing. So, I decided to create one and now sharing this with everyone.
What I need to use this?
- jQuery
- ImageLens plug-in – jquery.imagelens.js
- An image
How to use this?
Include jQuery and jquery.imageLens.js in you web page -
<script src="jquery.js" type="text/javascript"></script> <script src="jquery.imageLens.js" type="text/javascript"></script>
For default image lens just use imageLens as below. Note that it will automatically calculate actual size of image and start showing zooming -
$("#img_01").imageLens();
The article source:http://www.dailycoding.com/Posts/imagelens__a_jquery_plugin_for_lens_effect_image_zooming.aspx
You might also like
Tags
accordion accordion menu animation navigation animation navigation menu carousel checkbox inputs css3 css3 menu css3 navigation date picker dialog drag drop drop down menu drop down navigation menu elastic navigation form form validation gallery glide navigation horizontal navigation menu hover effect image gallery image hover image lightbox image scroller image slideshow multi-level navigation menus rating select dependent select list slide image slider menu stylish form table tabs text effect text scroller tooltips tree menu vertical navigation menu