imageLens-为图片添加镜头放大效果
2013-12-29 20:29 阅读(178)

介绍的是一款能为图片添加镜头放大效果的JQuery插件,十分适合用于经常展示图片的网站。本插件便于使用,只需几步简单的配置即可使用。本次实例我把Image Len 的功能分为4个实例来进行解释。详细请用户在demo中查看。


关键代码:   

$(function () {
$("#img_01").imageLens();
$("#img_02").imageLens({ lensSize: 200 });
$("#img_03").imageLens({ imageSrc: "images/sample01.jpg" });
$("#img_04").imageLens({ borderSize: 8, borderColor: "#06f" });
});
演示地址      下载地址