-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
218 lines (215 loc) · 12.2 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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="author" content="KeyLimePie"/>
<meta name="keywords" content="chatsounds,meta,struct,construct,garrys,mod,gmod,garry,keylimepie,potcfdk"/>
<meta name="description" content="Chatsounds online - explore thousands of sound samples with a simple text input!"/>
<title>Chatsounds</title>
<link rel="stylesheet" type="text/css" href="./css/common.css">
<link rel="stylesheet" type="text/css" href="./css/notification.css">
<link rel="stylesheet" type="text/css" href="./css/playerbox.css">
<link rel="stylesheet" type="text/css" href="./css/card.css">
<link rel="stylesheet" type="text/css" href="./css/overlay.css">
<link rel="stylesheet" type="text/css" href="scrollbar/jquery.mCustomScrollbar.css">
<link rel="stylesheet" type="text/css" href="foundation-icons/foundation-icons.css">
<link rel='stylesheet' type='text/css' href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,400,300,600'> <!-- Google Fonts -->
<link rel="icon" type="image/x-icon" href="favicon.ico"/>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico"/>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js"></script>
<script src="./js/init.js"></script>
</head>
<body>
<noscript>
<div class="overlay_nojs">
<div id="notification_nojs">
<div id="notification_textfield_nojs">
<p id="notification_message_nojs">JavaScript is disabled</p>
<p id="notification_detail_nojs">Your browser has disabled JavaScript.<br />However, this site needs JavaScript to work.<br />Please activate JavaScript in your browser.</p>
</div>
<div id="notification_footerbanner_nojs"></div>
</div>
</div>
</noscript>
<div class="overlay" id="overlay_help">
<div class="overlay_exit" style="left: 50%; top: 50%; margin: -265px auto auto -465px" title="Close help" onClick="hideHelp()"></div>
<div id="overlay_help_container">
<h3>help</h3>
<div class="help_entry">
<h4>first steps</h4>
<p class="help_entry_text"><span style="color: #aaa;">Welcome to Chatsounds!</span><br />Chatsounds plays sound samples based on your text input! Just type in a word or a sentence and see what happens. You will automatically get sample suggestions in the list below the input box.<br />Navigate in this list with <i>arrow key up/down</i> and add it to your input with <i>arrow key right</i>, <i>tab</i> or <i>enter</i>. You can <i>click</i> on a suggestion to add it as well.</p>
<p class="help_entry_example"></p>
</div>
<div class="help_entry">
<h4>#</h4>
<p class="help_entry_text">Most times Chatsounds offers more than one sample for a word. You can select a specific one with "#". Otherwise Chatsounds will select a random one.</p>
<p class="help_entry_example">hello#3</p>
</div>
<div class="help_entry">
<h4>*</h4>
<p class="help_entry_text">If you want to repeat a sample you can do it with "*".</p>
<p class="help_entry_example">yoyoko onosoco*4<br />hello#2*10</p>
</div>
<div class="help_entry">
<h4>multiple samples</h4>
<p class="help_entry_text">With Chatsounds you can create a queue of samples to play. Just type your stuff in - Chatsounds will do the rest for you. If you want to make sure that Chatsounds separates your text right you can separate it with a ','</p>
<p class="help_entry_example">gaben at valve software dot com<br/>hello#1,gaben,adventures of gaben*2</p>
</div>
<div class="help_entry">
<h4>random</h4>
<p class="help_entry_text">If you do not have any idea what sample you would like to hear you can type in "random". Chatsounds will then look for a random one.</p>
<p class="help_entry_example">random<br />yolomofo hellomoto,random,dont forget kawaii*2,random*10</p>
</div>
</div>
</div>
<div class="overlay" id="overlay_setBG">
<div id="overlay_setBG_container">
<div class="overlay_exit" title="Close this window" onClick="hideBGForm()"></div>
<div id="overlay_setBG_container_content">
<p class="notification_message">Set a custom background</p>
<div id="overlay_setBG_container_input">
<form id="bg_input_form" action="JavaScript:setBG ()">
<input id="bg_input_text" type="text" autocomplete="off" placeholder="Enter your image url...">
<input id="bg_input_button" type="submit" value="Set">
<br />
<div id="bg_input_form_cookies">
<input type="checkbox" id="bg_input_cookies" form="bg_input_form">
<label for="bg_input_cookies" title="This service uses cookies.">Remember this background</label>
</div>
</form>
</div>
<p id="cookie_disclaimer">This service uses cookies. <span id ="cookie_disclaimer_more" onClick="cookieDiscl ()">more...</span></p>
</div>
<div id="overlay_setBG_container_footer">
<p>A blank input means default.</p>
</div>
</div>
</div>
<div id="headbar">
<div id="headbar_h2_w">
<h2 title="red-coloured means it's loading...">CHATSOUNDS</h2>
</div>
<div id="playerbox">
<div id="playerbox_controls">
<p class="playerbox_text" id="playerbox_history_back"></p>
<div class="playerbox_button fi-arrow-left" id="playerbox_controls_back" title="Previous queue" onClick="cs.historyBack()"></div>
<div class="playerbox_button fi-play-circle" id="playerbox_controls_replay" title="Replay queue" onClick="cs.jukebox.replayQueue()"></div>
<div class="playerbox_button fi-play" id="playerbox_controls_play" title="Play/Pause" onClick="cs.jukebox.playToggle()"></div>
<div class="playerbox_button fi-fast-forward" id="playerbox_controls_skip" title="Skip" onClick="cs.jukebox.skipSample()"></div>
<div class="playerbox_button fi-arrow-right" id="playerbox_controls_forth" title="Following queue" onClick="cs.historyForth()"></div>
<p class="playerbox_text" id="playerbox_history_forth"></p>
</div>
<section id="playerbox_volume">
<span id="playerbox_volume_tooltip"></span>
<div id="playerbox_volume_slider"></div>
<span id="playerbox_volume_volume" title="Mute/Unmute" onClick="cs.jukebox.toggleMute()"></span>
</section>
</div>
<div id="headbar_settings" class="fi-widget" onClick="showSettings()"></div>
<div id="headbar_settings_box">
<table id="headbar_settings_box_options">
<tbody>
<tr onClick="showBGForm()">
<td class="fi-photo settings_icons"></td>
<td class="settings_options">Custom background</td>
</tr>
<tr onClick="openLink('github')">
<td class="fi-social-github settings_icons"></td>
<td class="settings_options">GitHub</td>
</tr>
<tr onClick="openLink('meta')">
<td class="settings_icons" style="background-image: url(meta.png); background-repeat: no-repeat; background-position: center;"></td>
<td class="settings_options">MetaConstruct</td>
</tr>
<tr onClick="showHelp()">
<td class="fi-first-aid settings_icons"></td>
<td class="settings_options" >Help</td>
</tr>
<tr onClick="showAbout()">
<td class="fi-info settings_icons"></td>
<td class="settings_options">About</td>
</tr>
</tbody>
</table>
</div>
<div id="headbar_sharelink_w">
<input id="headbar_sharelink_shorten" type="button" onClick="cs.setShorty ()" value="Shorty!" title="Get a short bit.ly-URL of this link"/>
<input id="headbar_sharelink_link" type="text" readonly onClick="this.select ()"/>
</div>
<div id="headbar_seek"></div>
</div>
<div id="timeline" style="height: 0; opacity: 0;">
<div id="timeline_cardline">
</div>
</div>
<div id="site-content">
<div id="search-container">
<div id="search-container_box">
<div id="search-container_box_wrapper">
<form style="width: 100%; height: 100%;" id="search-form" action="JavaScript:cs.action ()">
<input type="text" id="search-string" autocomplete="off" placeholder="Enter your search term..." value="" required/>
<input type="submit" id="search-submit" value=" "/>
</form>
</div>
</div>
<table id="suggestions">
<tbody>
<tr>
<td id="td-0" class="td-entry"></td>
</tr>
<tr>
<td id="td-1" class="td-entry"></td>
</tr>
<tr>
<td id="td-2" class="td-entry"></td>
</tr>
<tr>
<td id="td-3" class="td-entry"></td>
</tr>
<tr>
<td id="td-4" class="td-entry"></td>
</tr>
<tr>
<td id="td-5" class="td-entry"></td>
</tr>
<tr>
<td id="td-6" class="td-entry"></td>
</tr>
<tr>
<td id="td-7" class="td-entry"></td>
</tr>
<tr>
<td id="td-8" class="td-entry"></td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="footer">
<table style="width: 100%">
<tbody>
<tr>
<td>
<p style="font-size: 12px; float: left; margin: 0;" id="footer_table_names">Project by <b>KeyLimePie</b></p>
</td>
<td>
<p id="footer_revision" style="font-size: 12px; float: right; margin: 0;">Chatsounds SVN Revision </p>
</td>
</tr>
</tbody>
</table>
</div>
<script src="./js/Notification.js"></script>
<script src="./scrollbar/jquery.mCustomScrollbar.concat.min.js"></script>
<script src="./js/helper.js"></script>
<script src="./js/Samplebase.js"></script>
<script src="./js/Sample.js"></script>
<script src="./js/History.js"></script>
<script src="./js/Jukebox.js"></script>
<script src="./js/Card.js"></script>
<script src="./js/URLParameter.js"></script>
<script src="./js/Settings.js"></script>
<script src="./js/Chatsounds.js"></script>
</body>
</html>