-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
267 lines (254 loc) · 10.9 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
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="stylesheets/lib/bootstrap-theme.min.css">
<link rel="stylesheet" type="text/css" href="stylesheets/lib/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="stylesheets/style.css">
<script type="text/javascript" src="javascript/lib/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="javascript/lib/bootstrap.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/clipboard.js/1.5.10/clipboard.min.js"></script>
<script type="text/javascript" src="javascript/dxmcalculator.js"></script>
<title>TripSit DXM Calculator Tool</title>
</head>
<body>
<header>
<div class="center">
<a href="/">
<img src="images/chat-banner.png" style="padding:0;margin:0;width:100%;" class="img-responsive">
</a>
</div>
<nav role="navigation" style="padding:0;margin:0" class="navbar navbar-inverse navbar-static-top">
<div class="container-fluid">
<div>
<button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target="#bs-navbar-collapse" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="collapse navbar-collapse" id="bs-navbar-collapse">
<ul style="padding:0;margin:0" class="nav navbar-nav navbar-right top-nav">
<li class="choice">
<a href="http://tripsit.me/about">About</a>
</li>
<li class="choice">
<a href="http://tripsit.me/contact-us">Contact Us</a>
</li>
<li class="choice">
<a href="http://drugs.tripsit.me/">Factsheets</a>
</li>
<li class="choice">
<a href="http://wiki.tripsit.me/">Wiki</a>
</li>
<li class="choice">
<a href="https://play.google.com/store/apps/details?id=me.tripsit.tripmobile">Mobile App</a>
</li>
<li class="choice">
<a href="http://chat.tripsit.me/">Chat</a>
</li>
<li class="choice dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Tools
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li class="choice">
<a href="http://benzos.tripsit.me/">Benzodiazepine Converter</a>
</li>
<li class="choice">
<a href="http://dxm.tripsit.me/">DXM Calculator</a>
</li>
<li class="choice">
<a href="http://volume.tripsit.me/">Volumetric Dosing</a>
</li>
</ul>
</li>
<li class="choice dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Social Media
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li class="choice">
<a href="https://www.facebook.com/tripsitme/">Facebook</a>
</li>
<li class="choice">
<a href="http://reddit.com/r/tripsit/">Reddit</a>
</li>
<li class="choice">
<a href="https://twitter.com/teamtripsit">Twitter</a>
</li>
</ul>
</li>
<li class="choice">
<a href="http://tripsit.me/donate/">Donate</a>
</li>
</ul>
</div>
</div>
</nav>
</header>
<div style="margin-top:2%;" class="container-fluid">
<div class="jumbotron">
<h2>
<b>DXM Dosage Calculator</b>
</h3>
<br>
<h4>This is a simple calculator designed to help you discern how much
<a href="http://drugs.tripsit.me/dxm">DXM</a> you need to take reach each plateau of experience, depending on variable factors such as your weight and
concentration of the product you're using. For a description of the plateau model, and the effects you can expect
at each level, click
<a href="https://wiki.tripsit.me/wiki/DXM#Plateaus">here.</a>
</h4>
<h4> DXM-containing products may also contain several potentially dangerous adulterants; you must make sure that your
product contains only DXM as its active ingredient. For more information about DXM adulterants, see
<a href="https://wiki.tripsit.me/wiki/DXM#Adulteration">here.</a>
</h4>
<h4> For information about combining DXM with other drugs, check out our
<a href="https://wiki.tripsit.me/wiki/File:Combo_2.png">Combo Chart</a>. Make sure to read the label and research the product thoroughly before using it.
</h4>
<br>
<div class="flex">
<h4>Auto</h4>
<div id="checkbox">
<label class="switch">
<input type="checkbox" id="modeSwitch" onclick="changeMode()">
<span class="slider round"></span>
</label>
</div>
<h4>Manual</h4>
</div>
<div class="form-group active" id="autoInput">
<h2>Auto mode:</h2>
<h4 class="bs-callout bs-callout-danger">NOTE: All products listed here contain DXM hBr as the sole active ingredient.</h4>
<div class="form-inline">
<form action="" method="POST" name="autoForm" type="post" class="">
<h4>
<br> I weigh
<input type="text" name="weight" id="weightAutoInput" value="" size="6" oninput="auto()" class="form-control" placeholder="Weight"> in
<select name="wunit" id="autoWeightUnit" type="text" onchange="auto()" class="form-control">
<option value="1" selected>kg
<option value="0.4536">lbs
</select> and I want to take
<select name="substance" onchange="auto()" class="form-control" id="autoSubstance"></select>
</h4>
</form>
</div>
</div>
<div id="manualInput" class="form-group active">
<h2>Manual mode:</h2>
<h4 class="bs-callout bs-callout-danger">
NOTE: Please make sure your product does not contain the following:
<a href="https://wiki.tripsit.me/wiki/DXM#Adulteration">Acetaminophen(Paracetamol), Guaifenesin, Antihistamines or Pseudoephedrine.</a> This is still intended to be
used with DXM hBr product only.
</h4>
<h4>
<br>
<div class="form-inline">
<form action="" method="POST" name="manualForm" type="post" class="">
<span>I weigh</span>
<input type="text" name="weightManual" id="weightManualInput" value="" size="6" oninput="manual()" class="form-control" placeholder="Weight"> in
<select id="manualWeightUnit" name="wunitManual" type="text" onchange="manual()" class="form-control">
<option value="1" selected>kg
<option value="0.4536">lbs
</select> and I want to take
<input type="number" name="manualMode" value="1" id="manualMode" oninput="manual()" class="form-control" placeholder="" size="2">
mg dxm per
<select name="per5" id="per5" onchange="manual()">
<option value="1" selected>1 ml</option>
<option value="3">3 ml</option>
<option value="5">5 ml</option>
<option value="10">10 ml</option>
<option value="15">15 ml</option>
<option value="20">20 ml</option>
</select>
</h4>
</form>
</div>
<table>
<tr>
<td class="td-left">
<h4>Plateau</h4>
</td>
<td>
<h4>Minimum</h4>
</td>
<td>
<h4>Maximum</h4>
</td>
</tr>
<tr class="tr-first outputResult">
<td class="td-left">
<p class="tdText">1st:</p>
</td>
<td>
<p class="tdText">
<span id="p1l"></span>
</p>
</td>
<td class="outputResult">
<p class="tdText">
<span id="p1h"></span>
</p>
</td>
</tr>
<tr class="tr-second outputResult">
<td class="td-left">
<p class="tdText">2nd:</p>
</td>
<td>
<p class="tdText">
<span id="p2l"></span>
</p>
</td>
<td>
<p class="tdText">
<span id="p2h"></span>
</p>
</td>
</tr>
<tr class="tr-third outputResult">
<td class="td-left">
<p class="tdText">3rd:</p>
</td>
<td>
<p class="tdText">
<span id="p3l"></span>
</p>
</td>
<td>
<p class="tdText">
<span id="p3h"></span>
</p>
</td>
</tr>
<tr class="tr-fourth outputResult">
<td class="td-left">
<p class="tdText">4th:</p>
</td>
<td>
<p class="tdText">
<span id="p4l"></span>
</p>
</td>
<td>
<p class="tdText">
<span id="p4h"></span>
</p>
</td>
</tr>
</table>
<p>Note: You should always start low and work your way up untill you find the doses that are right for you.</p>
<p>Please note, these tools were developed and tested to the best possible ability by the TripSit team, and the greatest
effort has been made not to produce incorrect or misleading results, though for unforeseen reasons these may
occur. Always check your maths, and be careful. If you have any questions, suggestions or error reports on this
tool, you can contact us
<a href="http://tripsit.me/contact-us/">here</a>
<span>.</span>
</p>
<p>See a product not listed? Contact us
<a href="http://tripsit.me/contact-us/">here</a> with a link to your product.</p>
</div </body>
</html>