用hoverclock插件实现HTML5时钟

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>用hoverclock插件实现HTML5时钟</title>
    <link rel="stylesheet" href="http://hovertree.com/texiao/hoverclock/jquery.hoverclock.2.1.0.css" />
    <script src="http://hovertree.com/ziyuan/jquery/jquery-2.1.4.min.js"></script>
</head>
<body>
    <div style="width:500px;height:500px;color:red;text-align:right" id="hoverclock"></div>
     <script src="http://hovertree.com/texiao/hoverclock/jquery.hoverclock.2.1.0.js"></script>

    <script>
        $("#hoverclock").hoverclock({
            "h_width": 500,
            "h_height": 500,
            //"h_hourNumSize": "80",
            // "h_hourNumRadii": "200",
            // "h_hourNumShow": false,
            // "h_minuteNumShow":false,
            "h_hourNumColor": "deeppink",
            "h_backColor": "yellow",
            // "h_borderColor": "gold",
            //"h_frontColor":"red",
            "h_linkText": "HoverClock"
        });
    </script>

</body>
</html>

 

posted @ 2016-03-08 21:36  Jone_chen  阅读(459)  评论(0编辑  收藏  举报