`
corangecn
  • 浏览: 60650 次
文章分类
社区版块
存档分类
最新评论

jquery 放大镜效果

 
阅读更多

在图片右侧显示局部放大的图
演示地址: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="../../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

 

0
0
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics