-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
189 lines (177 loc) · 6.01 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
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
179
180
181
182
183
184
185
186
187
188
189
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<link rel="icon" type="image/png" sizes="16x16" href="img/icon.png"/>
<link rel="icon" type="image/png" sizes="32x32" href="img/icon-32x32.png"/>
<link rel="icon" type="image/png" sizes="96x96" href="img/icon-96x96.png"/>
<link rel="stylesheet" href="style.css"/>
<script src="https://kit.fontawesome.com/63535dd4e0.js"></script>
<script defer src="script.js"></script>
<title>Windows 95</title>
<meta name="description" content="Windows 95 - it's just a toy"/>
<meta name="keywords" content="Windows, Win, Windows 95, Windows95, Win 95, Win95, simulator"/>
</head>
<body onload="init()">
<div id="start-screen" onclick="startWindowsSession()">
<img src="img/start-screen.png"/>
</div>
<div id="desktop" onmousemove="tryMoveElement(event)" onclick="uncheckStartMenu()">
<div id="start-menu">
<div class="start-item">
<img src="img/start-menu/programs.png"/> Programs
<div class="start-submenu" id="programs-submenu">
<div class="programs-item">
Accessories
<div class="start-submenu" id="accessories-submenu">
<div class="menu-item">Games</div>
<div class="menu-item">Internet Tools</div>
<div class="menu-item">Multimedia</div>
<div class="menu-item">System Tools</div>
</div>
</div>
<div class="programs-item">Startup</div>
<div class="programs-item">MS-DOS Prompt</div>
<div class="programs-item">Windows Explorer</div>
</div>
</div>
<div class="start-item">
<img src="img/start-menu/documents.png"/>
Documents
</div>
<div class="start-item">
<img src="img/start-menu/settings.png"/>
Settings
</div>
<div class="start-item">
<img src="img/start-menu/find.png"/>
Find
</div>
<div class="start-item">
<img src="img/start-menu/help.png"/>
Help
</div>
<div class="start-item">
<img src="img/start-menu/run.png"/>
Run...
</div>
<hr>
<div class="start-item">
<img src="img/start-menu/shut-down.png"/>
Shut down...
</div>
</div>
<div class="window" id="window-exit-windows">
<div class="title-bar">
<div class="options-button">–</div>
<div class="title">Exit Windows</div>
</div>
<div class="window-content" style="padding: 10px;">
<p>
<i class="fas fa-info-circle" style="color: #00a; font-size: xx-large;vertical-align: sub;"></i>
This will end your Windows session
</p>
<button id="button-ok" onclick="exitWindowsSession()">OK</button>
<button onclick="closeWindow(parentElement.parentElement)">Cancel</button>
</div>
</div> <!-- .WINDOW #WINDOW-EXIT-WINDOWS -->
<div class="window-with-menu-bar" id="window-program-manager" onmousedown="clickOnWindow(this)">
<div class="title-bar">
<div class="options-button" onclick="showWindowExitWindows()">–</div>
<div class="title"
onmousedown="setMouseDown(this, event)"
onmouseup="setMouseUp(this)">
Program Manager
</div>
<div class="minimize-button">
<div class="minimize-button-content">▾</div>
</div>
<div class="maximize-button" onclick="switchScreenMode()">
<div class="maximize-button-content">▴</div>
</div>
</div>
<div class="menu-bar">
<div class="menu-option">File</div>
<div class="menu-option">Options</div>
<div class="menu-option">Window</div>
<div class="menu-option">Help</div>
</div>
<div class="window-content">
<div class="icon-background" onclick="unselectIcon()">
</div>
<div class="icon" id="icon-msdos" onclick="selectIcon(this)" ondblclick="runApp(msdos)">
<img src="img/ms-dos.png"/>
</div>
<div class="icon" id="icon-notepad" onclick="selectIcon(this)" ondblclick="runApp(notepad)">
<img src="img/notepad.png"/>
</div>
</div>
</div><!-- .WINDOW #WINDOW-PROGRAM-MANAGER -->
<div class="window-with-menu-bar" id="window-notepad" onmousedown="clickOnWindow(this)">
<div class="title-bar">
<div class="options-button" onclick="closeWindow(parentElement.parentElement)">–</div>
<div class="title"
onmousedown="setMouseDown(this, event)"
onmouseup="setMouseUp(this)">
Notepad
</div>
<div class="minimize-button">
<div class="minimize-button-content">▾</div>
</div>
<div class="maximize-button">
<div class="maximize-button-content">▴</div>
</div>
</div>
<div class="menu-bar">
<div class="menu-option" onclick="showMenuList()">
File
<div class="menu-list">
<div class="menu-element">New</div>
<div class="menu-element">Save</div>
<div class="menu-element">Save as...</div>
<hr>
<div class="menu-element" onclick="closeWindow(parentElement.parentElement.parentElement.parentElement)">Exit</div>
</div>
</div>
<div class="menu-option">Help</div>
</div>
<div class="window-content">
<textarea></textarea>
</div>
</div><!-- .WINDOW #WINDOW-NOTEPAD -->
<div class="window" id="window-msdos" onmousedown="clickOnWindow(this)">
<div class="title-bar">
<div class="options-button" onclick="closeWindow(parentElement.parentElement)">–</div>
<div class="title"
onmousedown="setMouseDown(this, event)"
onmouseup="setMouseUp(this)">
MS-DOS
</div>
<div class="minimize-button">
<div class="minimize-button-content">▾</div>
</div>
<div class="maximize-button">
<div class="maximize-button-content">▴</div>
</div>
</div>
<div class="window-content">
<iframe id="iframe-msdos" src="../webdos/index.html" title="WebDOS"></iframe>
</div>
</div><!-- .WINDOW #WINDOW-MSDOS -->
</div><!-- #DESKTOP -->
<div id="start-bar">
<div id="start-button" onclick="clickStartMenu()">
<img src="img/icon.png"/>
<div class="text">Start</div>
<div class="clear"></div>
</div>
<div id="systray">
<img src="img/systray-keyboard.png"/>
<img src="img/systray-sound.png"/>
<div id="clock">17:16</div>
<div class="clear"></div>
</div>
<div class="clear"></div>
</div>
</body>
</html>