:
HTML and jquery Implement the pie tut effect, the result is very good
How to use:
Introducing Scripts and CSS
<link href= "Css/style.css" type= "Text/css" rel= "stylesheet"/><script type= "Text/javascript" src= "js/ Jquery.js "></script> <script src=" js/jquery.min.js "></script> class=" Brush:js;toolbar: False "> If Internet Explorer supports the need to load this js< !--[if Ie]><script src=" Js/excanvas.js "></script><! [endif]-->
- Page Part CSS Code
*{margin:0;padding:0;List-style-type:None;}Body{background:#fff;Color:#333;font-family:"Trebuchet MS", Verdana, Arial, Helvetica, Sans-serif;font-size:0.9em;}#container{width:900px;margin:50px Auto;}#chart, #chartData{Border:1px solid #333;background:#ebedf2 url ("images/gradient.png") repeat-x 0 0;}#chart{Display:Block;margin:0 0 50px 0;float: Left;cursor:Pointer;}#chartData{width:200px;margin:0 40px 0 0;float: Right;Border-collapse:collapse;Box-shadow:0 0 1em rgba (0, 0, 0, 0.5);-moz-box-shadow:0 0 1em rgba (0, 0, 0, 0.5);-webkit-box-shadow:0 0 1em rgba (0, 0, 0, 0.5);background-position:0-100px;}#chartData th, #chartData TD{padding:0.5em;Border:1px dotted #666;text-align: Left;}#chartData th{Border-bottom:2px solid #333;Text-transform:Uppercase;}#chartData TD{cursor:Pointer;}#chartData td.highlight{background:#e8e8e8;}#chartData Tr:hover TD{background:#f0f0f0;}
- HTML code is primarily a canvas
<id= "Chart" width= " " " height=" ></canvas>
- For more information, please see Preview demo demo jquery HTML5 chart animated round pie chart effects demo download