Demo 1 Demo 2 Demo 3
Demo 4 Demo 5
第一示例代碼:
<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>
<script src="http://hovertree.com/texiao/hoverclock/jquery.hoverclock.2.1.0.js"></script>
<div id="hoverclock"></div>
<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>
保存到HTML文件可以查看效果。
查看效果:http://hovertree.com/texiao/hoverclock/demo4.htm
效果如下:
示例5:http://hovertree.com/texiao/hoverclock/demo5.htm
第二示例代碼:
<div id="hoverclock"></div>
<link rel="stylesheet" href="http://hovertree.com/texiao/hoverclock/inc/jquery.hoverclock.css" media="screen" type="text/css" />
<script src="http://hovertree.com/ziyuan/jquery/jquery-2.1.4.min.js"></script>
<script src="http://hovertree.com/texiao/hoverclock/inc/jquery.hoverclock.js"></script>
<script>
$(function () {
$("#hoverclock").hoverclock({
"h_height": "400", "h_width": "400", "h_backColor": "orange"
, "h_radius": "50%",
"h_linkText": "時光匆匆"
});
})
</script>
保存到HTML文件可以查看效果。
查看效果:http://hovertree.com/texiao/hoverclock/demo3.htm