Home > php教程 > php手册 > body text

jQuery 的图片放大镜插件:enlarge.js

WBOY
Release: 2016-06-07 11:43:38
Original
1568 people have browsed it

Enlarge 是一个基于 jQuery 的插件,可以非常方便地实现图放大镜的效果,适用于大多数商品类网站,例如在线商城、电子商务、企业产品介绍等。

官网下载、演示:http://www.abelcode.com/enlarge/

简单调用:$("#demo1").enlarge();完整参数:$("#demo1").enlarge(<br> {<br>     // 鼠标遮罩层样式<br>     shadecolor: "#FFD24D",<br>     shadeborder: "#FF8000",<br>     shadeopacity: 0.5,<br>     cursor: "move",<br> <br>     // 大图外层样式<br>     layerwidth: 400,<br>     layerheight: 300,<br>     layerborder: "#DDD",<br>     fade: true,<br> <br>     // 大图尺寸<br>     largewidth: 1280,<br>     largeheight: 960<br> });兼容性:
兼容 IE6+ / Chrome / Safare / Firefox / Opera 等主流浏览器。

GitHub:
https://github.com/abelcode/enlarge.js

为了保持和官网更新同步,请大家到官方网站下载:http://www.abelcode.com/enlarge/

AD:真正免费,域名+虚机+企业邮箱=0元

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template