首页 > Web开发 > 详细

jquery jqzoom插件练习

时间:2014-05-18 20:15:51      阅读:459      评论:0      收藏:0      [点我收藏+]
bubuko.com,布布扣
<!DOCTYPE html>

<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title></title>
    <script src="../Packages/jQuery.1.8.3/jquery-1.8.3.min.js"></script>
    <script src="../Packages/jquery.jqzoom.js"></script>
    <script type="text/javascript" >
        $(document).ready(function () {
            $(".jqzoom").jqueryzoom({
                xzoom: 300,        //zooming div default width(default width value is 200)
                yzoom: 300,        //zooming div default width(default height value is 200)
                offset: 40,        //zooming div default offset(default offset value is 10)
                position: "right",  //zooming div position(default position value is "right")
                preload: 1     // 1 by default
            });
        });
    </script>
    <link rel="stylesheet" href="../Styles/jqzoom.css" />
</head>
<body>
    <div class="jqzoom">
        <img src="../Images/shoe1_small.jpg" jqimg="../Images/shoe1_big.jpg" />
    </div>
</body>
</html>
View Code

jqzoom下载

jquery jqzoom插件练习,布布扣,bubuko.com

jquery jqzoom插件练习

原文:http://www.cnblogs.com/senyier/p/3732460.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!