Repository navigation
Expand file tree
/
Copy pathPDInterfaceHTML.html
More file actions
179 lines (117 loc) · 7.21 KB
/
Copy pathPDInterfaceHTML.html
File metadata and controls
179 lines (117 loc) · 7.21 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
<!----------- "LAYING OUT" ALL THE ELEMENTS THAT WILL APPEAR AS WELL AS THEIR HIERACHY RELATIVE TO EACH OTHER ------->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>new_file</title>
<meta name="author" content="jy" />
<script src="brine.js"></script>
<script src="clock.js"></script>
<!-- Date: 2015-02-10 -->
</head>
<body>
<!--everything within a parent div set to relative. gameCanvas should act as boundary-->
<div id="gameCanvas" class = "html,noselect">
<!------------------ <div id = "workspace">
<!--icons that will toggle pop ups-->
<div id = "toolbar" class="noselect">
<img id="messageIcon" class="icons,noselect" onclick="popup('messagePopUp')"onMouseUp = "changeZIndex('messagePopUp')" src="https://cdn4.iconfinder.com/data/icons/8-bit/160/bit-37-512.png">
<img id="terminalIcon" class="icons,noselect" onclick="popup('terminalPopUp')"onMouseUp="changeZIndex('terminalPopUp')" src="http://piq.codeus.net/static/media/userpics/piq_32116_400x400.png">
<div id = "cdiv">
<canvas id="canvas" width = "168" height = "60">
You shouldn't see this.
</canvas>
<script>
use2D = true;
var dayClock = new Clock(300,1260,null,null);
dayClock.fontSize = 30;
dayClock.x = 75;
dayClock.y = 15;
dayClock.startClock();
world.addChild(dayClock);
initGame('canvas');
</script>
</div>
</div>
<!--window pop ups with exit buttons-->
<div id="messagePopUp" class= "noselect,popUp" onMouseDown = "changeZIndex('messagePopUp')" style="display:none">
<img id="messageX" onclick="toggle('messagePopUp')"src="http://www.clipartbest.com/cliparts/LcK/rMA/LcKrMAkEi.jpeg">
<input id="input" type="text" style="font:courier" maxlength="30">
<input type="button" id="btn" value="Search" onclick="saveInput();">
</div>
<div id="terminalPopUp" class = "noselect,popUp" onMouseDown="changeZIndex('terminalPopUp')" style="display:none">
<div id="hackDiv">
<iframe src = "hack.html" height="395" width="595" frameborder="0"></iframe>
</div>
<img id="terminalX" onclick="toggle('terminalPopUp')"src="http://www.clipartbest.com/cliparts/LcK/rMA/LcKrMAkEi.jpeg">
</div>
<div id="targetPopUp" class= "noselect,popUp" onMouseDown = "changeZIndex('targetPopUp')" style="display:none">
<img id="targetX" onclick="toggle('targetPopUp')"src="http://www.clipartbest.com/cliparts/LcK/rMA/LcKrMAkEi.jpeg">
</div>
<!------------------------- </div>
<!-- side email display -->
<div id = "sidebar" class = "noselect">
<a name = "default"></a>
<div class = "page">
<div class = "email" id = "0" onclick= "window.location='#10',targetIndex('0');"></div>
<div class = "email" id = "1" onclick= "window.location='#11',targetIndex('1');"></div>
<div class = "email" id = "2" onclick= "window.location='#12',targetIndex('2');"></div>
<div class = "email" id = "3" onclick= "window.location='#13',targetIndex('3');"></div>
<div class = "email" id = "4" onclick= "window.location='#14',targetIndex('4');"></div>
<div class = "email" id = "5" onclick= "window.location='#15',targetIndex('5');"></div>
</div>
<a name ="10"></a>
<div class = "page" id = "10">
<img id = "back" onclick = "window.location ='#default', closeAttachment();" src= "http://static1.squarespace.com/static/517988d0e4b0f0be01bfb04b/t/51d2fb81e4b001d5c138ab4f/1372781441932/back.button.jpg">
<!--<a href = #default>back</a><br>-->
</div>
<a name ="11"></a>
<div class = "page" id = "11">
<img id = "back" onclick = "window.location ='#default', closeAttachment('targetPopUp');" src= "http://static1.squarespace.com/static/517988d0e4b0f0be01bfb04b/t/51d2fb81e4b001d5c138ab4f/1372781441932/back.button.jpg">
</div>
<a name ="12"></a>
<div class = "page" id = "12">
<img id = "back" onclick = "window.location ='#default', closeAttachment('targetPopUp');" src= "http://static1.squarespace.com/static/517988d0e4b0f0be01bfb04b/t/51d2fb81e4b001d5c138ab4f/1372781441932/back.button.jpg">
</div>
<a name ="13"></a>
<div class = "page" id = "13">
<img id = "back" onclick = "window.location ='#default', closeAttachment('targetPopUp');" src= "http://static1.squarespace.com/static/517988d0e4b0f0be01bfb04b/t/51d2fb81e4b001d5c138ab4f/1372781441932/back.button.jpg">
</div>
<a name ="14"></a>
<div class = "page" id = "14">
<img id = "back" onclick = "window.location ='#default', closeAttachment('targetPopUp');" src= "http://static1.squarespace.com/static/517988d0e4b0f0be01bfb04b/t/51d2fb81e4b001d5c138ab4f/1372781441932/back.button.jpg">
</div>
<a name ="15"></a>
<div class = "page" id = "15">
<img id = "back" onclick = "window.location ='#default', closeAttachment('targetPopUp');" src= "http://static1.squarespace.com/static/517988d0e4b0f0be01bfb04b/t/51d2fb81e4b001d5c138ab4f/1372781441932/back.button.jpg">
</div>
</div>
<!-------------------------------------------------------------------------------------------------------------
this current code just unhides an element of x size.. i want to make hidden pages like on the practice site (mAKE THE EMAILS A PAGE TOO)
<div id ="sidebar">
<div class = "email" id = "e1" onclick="openEmail('e0', 'emailFillBar')"></div>
<div class = "email" id = "e2" onclick="openEmail('e1', 'emailFillBar')"></div>
<div class = "email" id = "e3" onclick="openEmail('e2', 'emailFillBar')"></div>
<div class = "email" id = "e4" onclick="openEmail('e3', 'emailFillBar')"></div>
<div class = "email" id = "e5" onclick="openEmail('e4', 'emailFillBar')"></div>
<div class = "email" id = "e6" onclick="openEmail('e5', 'emailFillBar')"></div>
<div class = "email" id = "e7" onclick="openEmail('e6', 'emailFillBar')"></div>
<div id="emailFillBar" style="display:none">
<img id="emailX" onclick="popup('emailFillBar')"src="http://www.clipartbest.com/cliparts/LcK/rMA/LcKrMAkEi.jpeg">
</div>
</div>
---------------------------------------------------------------------------------------------------------------->
</div>
</body>
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<script src="PDInterfaceJS.js"></script>
<link rel="stylesheet" type="text/css" href="PDInterfaceCSS.css">
<!------------------------------------------- bootstrap stuff------------------------------------------------------------
<!-- Latest compiled and minified CSS
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<!-- Latest compiled JavaScript
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
------------------------------------------------------------------------------------------------------------------------->
</html>