呵呵,我又看到了一种jquery的插件jquzoom, JS(jquery)实现图片放大镜效果
<HTML>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<link href="http://www.vancl.com/css/jqzoom.css" type="text/css" rel="stylesheet" />
<SCRIPT src="http://www.vancl.com/PublicControls/js/jquery.js" type=text/javascript></SCRIPT>
<SCRIPT src="http://www.vancl.com/PublicControls/js/jquery.jqzoom.js"></SCRIPT>
<SCRIPT type=text/javascript>
jQuery.noConflict();
jQuery(document).ready(function(){
jQuery("img.jqzoom").jqueryzoom({
xzoom: 400,
yzoom: 400,
offset: 15,
position: "right"
});
});
</SCRIPT>
<BODY>
<img class=jqzoom src="http://t12.baidu.com/it/u=1570691239,2179002097&fm=3&gp=31.jpg" alt="http://hiphotos.baidu.com/幽冥欢/pic/item/5dbd754e588d9006b2de05aa.jpg" border=0 >
</BODY>
</HTML>