-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
92 lines (82 loc) · 3.23 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Stroke order sample</title>
<style type="text/css">
@import "css/jquery.svg.css";
#svgbasics { width: 200px; height: 200px; border: 1px solid #484; }
</style>
<style type="text/css">
body {
margin-top: 1.0em;
background-color: #eac099;
font-family: "Helvetica,Arial,FreeSans";
color: #000000;
}
#container {
margin: 0 auto;
width: 700px;
}
h1 { font-size: 3.8em; color: #153f66; margin-bottom: 3px; }
h1 .small { font-size: 0.4em; }
h1 a { text-decoration: none }
h2 { font-size: 1.5em; color: #153f66; }
h3 { text-align: center; color: #153f66; }
a { color: #153f66; }
.description { font-size: 1.2em; margin-bottom: 30px; margin-top: 30px; font-style: italic;}
.download { float: right; }
pre { background: #000; color: #fff; padding: 15px;}
hr { border: 0; width: 80%; border-bottom: 1px solid #aaa}
.footer { text-align:center; padding-top:30px; font-style: italic; }
</style>
<script type="text/javascript" src="js/jquery-1.3.2.js"></script>
<script type="text/javascript" src="js/jquery.svg.js"></script>
<script type="text/javascript" src="stroke.js"></script>
<script type="text/javascript">
var stroke;
$(document).ready(function(){
stroke = $('#svgbasics').stroke();
stroke.draw();
stroke.playback();
$("#play").click(function () {
stroke.clear();
stroke.playback();
});
});
</script>
</head>
<body>
<a href="http://github.com/chihchun/stroke-order"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a>
<div id="container">
<div class="download">
<a href="http://github.com/chihchun/stroke-order/zipball/master">
<img border="0" width="90" src="http://github.com/images/modules/download/zip.png"></a>
<a href="http://github.com/chihchun/stroke-order/tarball/master">
<img border="0" width="90" src="http://github.com/images/modules/download/tar.png"></a>
</div>
<h1><a href="http://github.com/chihchun/stroke-order">stroke-order</a>
<span class="small">by <a href="http://github.com/chihchun">chihchun</a></span></h1>
<div id="svgbasics"></div>
<p><button id="play">Play</button></p>
<div class="description">
A stroke order animator in jQuery, JavaScript and SVG.
</div>
<h2>License</h2>
<p>GPL</p>
<h2>Contact</h2>
<p>Rex Tsai ([email protected])<br/> </p>
<h2>Download</h2>
<p>
You can download this project in either
<a href="http://github.com/chihchun/stroke-order/zipball/master">zip</a> or
<a href="http://github.com/chihchun/stroke-order/tarball/master">tar</a> formats.
</p>
<p>You can also clone the project with <a href="http://git-scm.com">Git</a>
by running: <pre>$ git clone git://github.com/chihchun/stroke-order</pre></p>
<div class="footer">get the source code on GitHub : <a href="http://github.com/chihchun/stroke-order">chihchun/stroke-order</a></div>
</div>
</body>
</html>