aboutsummaryrefslogtreecommitdiff
path: root/site/app/clipart/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'site/app/clipart/index.html')
-rw-r--r--site/app/clipart/index.html46
1 files changed, 46 insertions, 0 deletions
diff --git a/site/app/clipart/index.html b/site/app/clipart/index.html
new file mode 100644
index 0000000..95db367
--- /dev/null
+++ b/site/app/clipart/index.html
@@ -0,0 +1,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>