---
title: "jquery 放大镜效果"
author: "corangecn"
date: "2014-11-21T09:09:47Z"
tags: []
categories: ["Web前端"]
slug: "jquery"
draft: false
lastmod: "2014-11-21T09:09:47Z"
id: 2158737
url: "https://corangecn.iteye.com/blog/2158737"
---

在图片右侧显示局部放大的图  
演示地址:[http://www.corange.cn/demo/3792/index.html](http://www.corange.cn/demo/3792/index.html)   
&lt;script type="text/javascript" src="jquery00.js" charset="utf-8"&gt;&lt;/script&gt;  
&lt;link href="jquery00.css" type="text/css" rel="stylesheet" /&gt;  
&lt;script type="text/javascript" src="jquery01.js" charset="utf-8"&gt;&lt;/script&gt;  
&lt;/head&gt;  
&lt;body&gt;  
&lt;Div align="center"&gt;&lt;h1&gt;&lt;a href="../../archives/2011/10/3792.html"&gt;jquery 放大镜效果&lt;/a&gt;&lt;/h1&gt;&lt;/Div&gt;  
&lt;div align="center"&gt;  
&lt;div class="proshow"&gt;  
&lt;a href="http://www.cpzy123.com/pro\_b/2011-9/2011931619051344.jpg" id="jqzoom" alt=""&gt;&lt;img src="20119316.jpg" id="propic" width="300" height="300" alt="" /&gt;&lt;/a&gt;   
&lt;/div&gt;  
&lt;/div&gt;  
&lt;script language="javascript"&gt;  
&lt;!--  
//  
$(document).ready(function(){  
$('#jqzoom').jqzoom({  
zoomType: 'standard',  
lens:true,  
preloadImages: true,  
alwaysOn:false,  
zoomWidth: 350,  
zoomHeight: 350,  
title:true,  
xOffset:10,  
yOffset:0,  
position:'right'  
});  
});  
//--&gt;  
&lt;/script&gt;

&lt;div align="center"&gt;&lt;script type="text/javascript"&gt;&lt;!--  
google\_ad\_client = "pub-4490194096475053";  
/* 728x90, 创建于 08-12-8 \*/  
google\_ad\_slot = "0403648181";  
google\_ad\_width = 728;  
google\_ad\_height = 90;  
//--&gt;  
&lt;/script&gt;  
&lt;script type="text/javascript"  
src="http://pagead2.googlesyndication.com/pagead/show\_ads.js"&gt;  
&lt;/script&gt;&lt;/div&gt; 

原文地址:[http://www.corange.cn/archives/2011/10/3792.html](http://www.corange.cn/archives/2011/10/3792.html)