aboutsummaryrefslogtreecommitdiff
path: root/site/app/clipart/index.html
blob: 95db367e053157a08ede1f21ce8a55c5e6450052 (plain)
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
<html>
	<head>
		<style type="text/css">
			#start {
				position: absolute;
				left: 0px;
				top: 0px;
				height: 100%;
				width: 100%;
				background-color: #ffffff;
				text-align: center;
				cursor: pointer;
			}
		</style>
		<script type="text/javascript" src="/code/jquery.js"></script>
		<script type="text/javascript" src="/app/base/base.js"></script>
		<script type="text/javascript" src="/code/svg.js"></script>
		<script type="text/javascript" src="svgmess.js"></script>
		<script type="text/javascript">
			$(function() {
				window.svgmess = new SVGMess("svgimage");

				window.app = new CSApplication({
					csdUrl: "clipart.csd",
					onPlay: function () {
						$("#start").hide();
						svgmess.run();
					},
				});
					
				$("#start").click(function() {
					$("#status").text("Loading...");
					app.play();
				});
				
			});
		</script>
	</head>

	<body>
		<div id="start">
			<h1 id="status">Press to begin</h1>
		</div>
		<div id="svgimage"></div>
	</body>
</html>