-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
40 lines (33 loc) · 1.03 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
<!doctype html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="image/svg+xml; charset=utf-8" />
<meta charset="UTF-8">
<script src="svge.js"></script>
<style>
body{font-family:sans-serif;}
</style>
</head>
<body>
<h2> Tests:</h2>
Rectangle Text - uses variables and javascript functions
<br/>
<object id="svg1" data="rect test.svg" type="image/svg+xml"></object>
<script> processSVGE("svg1"); </script>
<br/>
Text Text - uses variables
<br/>
<object id="svg2" data="text test.svg" type="image/svg+xml"></object>
<script> processSVGE("svg2"); </script>
<br/>
Centered Text - uses variables and embedded JS
<br/>
<object id="svg3" data="centered test.svg" type="image/svg+xml" ></object>
<script> processSVGE("svg3"); </script>
<br/>
Cirlce Text - uses variables and embedded JS in variable decleration, and also trig
<br/>
<object id="svg4" data="circle test.svg" type="image/svg+xml" ></object>
<script> processSVGE("svg4"); </script>
</body>
</html>