-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
64 lines (55 loc) · 2.25 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
<html>
<head>
<title>Carolina Crossing Challenge </title>
<style type="text/css">
@import "http://ajax.googleapis.com/ajax/libs/dojo/1.5/dojo/resources/dojo.css";
@import "http://ajax.googleapis.com/ajax/libs/dojo/1.5/dijit/themes/claro/claro.css";
html, body, .dijitBorderContainer {width: 100%; height: 100%;}
canvas{
outline:0;
border:1px solid #000;
margin-left: auto;
margin-right: auto;
}
</style>
<script type="text/javascript">
var djConfig = {
isDebug: false,
parseOnLoad: true,
baseUrl: './',
modulePaths: { }
};
</script>
<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/dojo/1.5/dojo/dojo.xd.js">
</script>
<script type="text/javascript" src="/libs/uow.js"></script>
<script type="text/javascript" src="raphael.js"></script>
<script type="text/javascript" src="miniGame_raphael.js"></script>
<script type="text/javascript" src="maps/maps2.js"></script>
<script type="text/javascript" src="SC_raphael.js"></script>
<script type="text/javascript" src="mapcreator.js"></script>
<script type="text/javascript" src="CarolinaCrossingChallenge.js"></script>
</head>
<body class=" claro ">
<div dojoType="dojo.data.ItemFileReadStore" data="MAPS2" jsId="maps">
</div>
<div dojoType="dijit.form.ComboBox" id="cmbox" store="maps" searchAttr="name">
</div>
<button dojoType="dijit.form.Button" type="button" id="button1" onClick="alert(' the capitol is ' + dijit.byId('cmbox').attr('value'));">
Click Here
</button>
<form>
Facing Street:
<input type="text" id="form1" />
Closest Building:
<input type="text" id="form2" />
Objective Building:
<input type="text" id="form3" />
Tile of Objective Building:
<input type="text" id="form4" />
</form>
<div id="holder">
</div>
</body>
</html>