forked from wout/raphael-svg-import
-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo.html
36 lines (35 loc) · 1.11 KB
/
demo.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>Raphael SVG Import - Interactive demo</title>
<style type="text/css" media="screen">
body, html {
margin: 0;
padding: 0;
background-color: #fff;
height: 100%;
}
#paper {
width:100%;
height: 100%;
}
#buttons {
position: absolute;
right: 10px;
top: 10px;
}
</style>
</head>
<body>
<div id="paper"></div>
<div id="buttons">
<input type="button" name="import" value="Import SVG" class="button" onclick="importSVG()" />
</div>
</body>
<script src="lib/raphael-min.js" type="text/javascript" charset="utf-8"></script>
<script src="lib/raphael-shapes.js" type="text/javascript" charset="utf-8"></script>
<script src="raphael-svg-import.js" type="text/javascript" charset="utf-8"></script>
<script src="src/demo.js" type="text/javascript" charset="utf-8"></script>
</html>