网站开发与移动开发

博客园 首页 新随笔 管理

 在图片右侧显示局部放大的图
演示地址:http://www.corange.cn/demo/3792/index.html
<script type="text/javascript" src="jquery00.js" charset="utf-8"></script>
<link href="jquery00.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="jquery01.js" charset="utf-8"></script>
</head>
<body>
<Div align="center"><h1><a href="http://www.cnblogs.com/archives/2011/10/3792.html">jquery 放大镜效果</a></h1></Div>
<div align="center">
<div class="proshow">
<a href="http://www.cpzy123.com/pro_b/2011-9/2011931619051344.jpg" id="jqzoom" alt=""><img src="20119316.jpg" id="propic" width="300" height="300" alt="" /></a>
</div>
</div>
<script language="javascript">
<!--
//
$(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'
});
});
//-->
</script>


<div align="center"><script type="text/javascript"><!--
google_ad_client = "pub-4490194096475053";
/* 728x90, 创建于 08-12-8 */
google_ad_slot = "0403648181";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>

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

posted on 2011-10-27 20:20  txf2004  阅读(170)  评论(0编辑  收藏  举报