CSS3 + jQuery implement the clock plug-in, css3jquery
View effects: http://hovertree.com/texiao/hoverclock/demo4.htm
This plug-in is easy to use, can be used in the blog garden page, please see the right side of this page: http://www.cnblogs.com/roucheng/p/css3clock.html
The simple code is as follows:
<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>
Figure:
The complete code is as follows:
<!DOCTYPE html>
More: http://www.cnblogs.com/roucheng/p/texiao.html