码迷,mamicode.com
首页 > Web开发 > 详细

jquery jqzoom插件练习

时间:2014-05-18 20:17:30      阅读:416      评论:0      收藏:0      [点我收藏+]

标签:style   blog   class   code   c   java   

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插件练习

标签:style   blog   class   code   c   java   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!