(077)jquery_插件_jqzoom
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <title>plug_jqzoom.html</title> <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> <meta http-equiv="description" content="this is my page"> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <!--<link rel="stylesheet" type="text/css" href="./styles.css">--> <link rel="stylesheet" type="text/css" href="../css/jquery_jqzoom/jquery.jqzoom.css"></link> <style type="text/css"> #divtest { width: 282px; } #divtest .title { padding: 8px; background-color: Blue; color: #fff; height: 23px; line-height: 23px; font-size: 15px; font-weight: bold; } #divtest .content { padding: 8px 0px; background-color: #fff; font-size: 13px; } .fl { float: left; } .fr { float: right; } </style> <script type="text/javascript" src="../js/jquery/jquery-1.8.3.min.js"></script> <script type="text/javascript" src="../js/jquery_jqzoom/jquery.jqzoom.js"></script> <script type="text/javascript"> $(function(){ $("#jqzoom").jqzoom({ zoomWidth:300, //小图片所选区域的宽 zoomHeight:300, //小图片所选区域的高 zoomType:"reverse" //设置放大镜的类型 }); }); </script> </head> <body> <div id="divtest"> <div class="title"> <span class="fl">图片放大镜</span> </div> <div class="content"> <a href="http://img.mukewang.com/52e4aec90001924d06800599.jpg" id="jqzoom" title="小兔子乖乖"> <img src="http://img.mukewang.com/52e4aee700012df702130212.jpg" alt=""/> </a> </div> </div> </body> </html>
***万事万物都有裂痕,那是光照进来的地方***

浙公网安备 33010602011771号