-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
306 lines (305 loc) · 16.3 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
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>WDW AP Calculator</title>
<meta name="author" content="Patrick A Collins">
<meta name="description" content="A calculator to determine the value of purchasing an Annual Pass at Walt Disney World in Orlando, Florida.">
<meta name="keywords" content="walt, disney, world, annual, pass, calculator, value">
<meta property="og:title" content="Walt Disney World Annual Pass Calculator">
<meta property="og:url" content="https://pacollins.github.io/wdwapcalc">
<meta property="og:description" content="A calculator to determine the value of purchasing an Annual Pass at Walt Disney World in Orlando, Florida.">
<meta property="og:image" content="https://pacollins.github.io/wdwapcalc/legacy/Passholder.jpg">
<link rel="icon" href="img/favicon.ico">
<link rel="author" href="https://www.pacollins.com/about/">
<link rel="license" href="/~https://github.com/pacollins/wdwapcalc/blob/master/LICENSE">
<!-- CSS FILES -->
<link rel='preload' href="https://cdn.datatables.net/v/dt/dt-1.10.18/fh-3.1.4/r-2.2.2/datatables.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.1.5/css/uikit.min.css">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<!-- TOP -->
<div class="uk-position-relative uk-light uk-background-secondary">
<div class="uk-visible-toggle" uk-slideshow="animation: fade; autoplay: true; autoplay-interval: 10000">
<ul class="uk-slideshow-items">
<li><img src="img\cinderella-castle.webp" alt="" uk-cover uk-img="target: !.uk-slideshow-items"></li>
<li><img src="img\spaceship-earth.webp" alt="" uk-cover uk-img="target: !.uk-slideshow-items"></li>
<li><img src="img\twilight-zone-tower-of-terror.webp" alt="" uk-cover uk-img="target: !.uk-slideshow-items"></li>
<li><img src="img\tree-of-life.webp" alt="" uk-cover uk-img="target: !.uk-slideshow-items"></li>
</ul>
<div class="uk-position-center-left uk-overlay uk-overlay-primary" uk-scrollspy="cls: uk-animation-slide-right-medium; target: > *">
<h1 class="uk-margin-small-bottom">Walt Disney World Annual Pass Calculator</h1>
<h2 class="uk-text-primary uk-margin-remove-top">By Patrick A Collins</h2>
<p class="uk-visible@s">A calculator to determine the value of purchasing an Annual Pass at Walt Disney World in Orlando, Florida.</p>
</div>
<div class="uk-position-bottom-right uk-overlay uk-overlay-primary uk-padding-small" uk-scrollspy="cls: uk-animation-slide-right-medium; target: > *">
<p class="uk-text-meta">Photos Courtesy of Disney</p>
</div>
</div>
<div class="uk-position-bottom-center uk-position-medium uk-position-z-index uk-text-center">
<a href="#content" uk-scroll="duration: 1000" uk-icon="icon: arrow-down; ratio: 2"></a>
</div>
</div>
<section id="content" class="uk-section uk-section-default">
<div class="uk-container">
<!-- SWITCHER -->
<div class="uk-section uk-section-small uk-padding-remove-vertical">
<ul class="uk-subnav uk-subnav-pill uk-flex uk-flex-center" uk-switcher="connect: .uk-switcher; animation: uk-animation-fade">
<li><a class="uk-border-pill" href="#">Calculator</a></li>
<li><a class="uk-border-pill" href="#">Price Chart</a></li>
</ul>
</div>
<ul class="uk-switcher uk-margin">
<!-- TAB 1 -->
<li>
<form class="uk-margin-remove-left" uk-grid>
<fieldset class="uk-width-expand@l uk-padding-small uk-box-shadow-small" uk-scrollspy="cls: uk-animation-slide-left-medium;">
<legend>Regular Ticket Trip</legend>
<p class="uk-text-meta uk-margin-remove-top">Use this side of the form
if you are looking to compare what you might typically do with
what you could do with an Annual Pass.</p>
<div class="uk-child-width-1-2@s" uk-grid>
<div>
<label for="reg_visa">Disney VISA?</label>
<select id="reg_visa" class="uk-select" uk-tooltip="Disney provides food and merchandise discounts when using this card.">
<option value="0">No</option>
<option value="1">Yes</option>
</select>
</div>
<div>
<label for="reg_photopass">PhotoPass?</label>
<select id="reg_photopass" class="uk-select">
<option value="0">No</option>
<option value="1">Yes</option>
</select>
</div>
<div>
<label for="reg_num">Tickets</label>
<input id="reg_num" class="uk-input" type="number" min="1">
</div>
<div>
<label for="reg_upgrade">Park Hopper?</label>
<select id="reg_upgrade" class="uk-select">
<option value="0">No</option>
<option value="1">Yes</option>
</select>
</div>
<div>
<label for="reg_days">Park Days per Year</label>
<input id="reg_days" class="uk-input" type="number" min="0">
</div>
<div>
<label for="reg_food">Food per Person per Day</label>
<div class="uk-inline uk-width-1-1">
<span class="uk-form-icon">$</span>
<input id="reg_food" class="uk-input" type="number" min="0" step="0.01">
</div>
</div>
<div>
<label for="reg_trips">Trips per Year</label>
<input id="reg_trips" class="uk-input" type="number" min="0" uk-tooltip="Each trip would require a new PhotoPass.">
</div>
<div>
<label for="reg_nights">Nights per Year</label>
<input id="reg_nights" class="uk-input" type="number" min="0">
</div>
<div>
<label for="reg_rooms">Rooms</label>
<input id="reg_rooms" class="uk-input" type="number" min="0">
</div>
<div>
<label for="reg_rooms_people">People per Room</label>
<input id="reg_rooms_people" class="uk-input" type="number" min="1" disabled>
</div>
<div>
<label for="reg_merch">Merchandise per Year</label>
<div class="uk-inline uk-width-1-1">
<span class="uk-form-icon">$</span>
<input id="reg_merch" class="uk-input" type="number" min="0" step="0.01">
</div>
</div>
<div>
<label for="reg_wonderland">Tables In Wonderland?</label>
<select id="reg_wonderland" class="uk-select" disabled>
<option value="0">No</option>
<option value="1">Yes</option>
</select>
</div>
</div>
</fieldset>
<div class="uk-width-1-6@l uk-padding-small uk-flex uk-flex-middle">
<button class="uk-button uk-button-primary uk-align-center uk-padding-small uk-padding-remove-vertical" onclick="copydata()" type="button" uk-tooltip="Press the copy button to do
a quick comparison.">Copy<span uk-icon="icon: arrow-right;"></span></button>
</div>
<fieldset class="uk-width-expand@l uk-padding-small uk-box-shadow-small" uk-scrollspy="cls: uk-animation-slide-right-medium;">
<legend>Annual Pass Trip</legend>
<p class="uk-text-meta uk-margin-remove-top">Use this side to compare against
a trip without annual passes, or to see where the break even point
is with an annual pass</p>
<div class="uk-child-width-1-2@s" uk-grid>
<div>
<label for="ap_num">Annual Passes</label>
<input id="ap_num" class="uk-input" type="number" min="1" uk-tooltip="Pro Tip - You only need one to get the benifits.">
</div>
<div>
<label for="ap_upgrade">Pass Type</label>
<select id="ap_upgrade" class="uk-select" uk-tooltip="Some passes require being a Florida Resident or a DVC member.">
<option value="0">Platinum Plus</option>
<option value="1" selected="selected">Platinum</option>
<option value="2">Platinum Plus (FL/DVC)</option>
<option value="3">Platinum (FL/DVC)</option>
<option value="4">Gold (FL/DVC)</option>
<option value="5">Silver (FL/DVC)</option>
<option value="6">Theme Park Select (FL/DVC)</option>
<option value="7">Weekday Select (FL/DVC)</option>
<option value="8">EPCOT After 4 (FL/DVC)</option>
</select>
</div>
<div >
<label for="ap_reg_num">Regular Tickets</label>
<input id="ap_reg_num" class="uk-input" type="number" min="0">
</div>
<div>
<label for="ap_reg_upgrade">Park Hopper?</label>
<select id="ap_reg_upgrade" class="uk-select" uk-tooltip="A great value subsitution instead of another annual pass.">
<option value="0">No</option>
<option value="1">Yes</option>
</select>
</div>
<div>
<label for="ap_days">Park Days per Year</label>
<input id="ap_days" class="uk-input" type="number" min="0">
</div>
<div>
<label for="ap_food">Food per Person per Day</label>
<div class="uk-inline uk-width-1-1">
<span class="uk-form-icon">$</span>
<input id="ap_food" class="uk-input" type="number" min="0" step="0.01">
</div>
</div>
<div>
<label for="ap_trips">Trips per Year</label>
<input id="ap_trips" class="uk-input" type="number" min="0">
</div>
<div>
<label for="ap_nights">Nights per Year</label>
<input id="ap_nights" class="uk-input" type="number" min="0">
</div>
<div>
<label for="ap_rooms">Rooms</label>
<input id="ap_rooms" class="uk-input" type="number"min="0" >
</div>
<div class="form-group col">
<label for="ap_rooms_people">People per Room</label>
<input id="ap_rooms_people" class="uk-input" type="number" min="1" disabled>
</div>
<div class="form-group col-md-6">
<label for="ap_merch">Merchandise per Year</label>
<div class="uk-inline uk-width-1-1">
<span class="uk-form-icon">$</span>
<input id="ap_merch" class="uk-input" type="number" min="0" step="0.01">
</div>
</div>
<div class="form-group col">
<label for="ap_wonderland">Tables In Wonderland?</label>
<select id="ap_wonderland" class="uk-select" disabled>
<option value="0">No</option>
<option value="1">Yes</option>
</select>
</div>
</div>
</fieldset>
<div class="uk-width-1-1 uk-child-width-expand uk-padding-remove uk-margin-remove-left" uk-grid>
<div class="uk-width-1-6@s"></div>
<fieldset id="optional" class="uk-flex uk-flex-center uk-padding-small uk-box-shadow-small">
<legend>Optional Inputs</legend>
<label for="custom_hotel">Custom Hotel Price/Night</label>
<div class="uk-inline uk-width-1-1">
<span class="uk-form-icon">$</span>
<input id="custom_hotel" class="uk-input" type="number" min="0" step="0.01" uk-tooltip="If you find a particular rate for a Disney hotel, or another accomation, here is where to put that.">
</div>
</fieldset>
<div class="uk-width-1-6@s"></div>
</div>
<div class="uk-width-1-1 uk-padding-remove">
<div class="uk-flex uk-flex-center uk-padding-remove">
<button class="uk-button uk-button-primary uk-align-center uk-padding-small uk-padding-remove-vertical" onclick="calculate()" type="button">Calculate</button>
</div>
</div>
</form>
<table id="chart" class="table display uk-box-shadow-small"></table>
</li>
<!-- TAB 2 -->
<li>
<div class="uk-child-width-1-2@m uk-flex uk-flex-center uk-margin-remove-left" uk-grid uk-scrollspy="target: > div; cls: uk-animation-slide-left-medium">
<div class="uk-padding-remove-left" uk-scrollspy-class="uk-animation-slide-left-medium">
<h2 class="uk-margin-small-top uk-text-center">Item Constants</h2>
<table id="chartconstants" class="table display uk-box-shadow-small"></table>
</div>
<div class="uk-padding-remove-left" uk-scrollspy-class="uk-animation-slide-right-medium">
<h2 class="uk-margin-small-top uk-text-center">Room Constants</h2>
<table id="charthotels" class="table display uk-box-shadow-small"></table>
</div>
</div>
</li>
</ul>
</div>
</section>
<!-- BOTTOM -->
<div class="uk-section uk-section-small uk-section-muted">
<div class="uk-container uk-container-small">
<h3>Methodology</h3>
<p>Hotel prices are based on the advertised rack rate during a "Value" week in 2020.
(Source: <a href="https://www.mousesavers.com/2020-disney-world-room-rates-season-dates/">MouseSavers</a>).
While I acknowledge that discounts are common place, the inclusion of
inconsistent discounts would skew the validity of the results. If you
have a rate, feel free to utilize the "custom" section. DVC Rentals are
based a value week in the smallest room for a resort at $19/point in 2020.
(Source: <a href="https://www.dvcrequest.com/point-charts.asp">DVC Request</a>).</p>
<p>Additional items, such as tickets, are the cheapest that I could
find. This is because the more expensive the trip, the more worthwhile
an AP becomes. Thus, if it is worthwhile under these conditions, it wil
be worthwhile regardless of when you go. Feel free to check the prices
in the constants tab. If you know of a lower price for any of the items
listed or have suggestions to improve the calculator, please
<a href="/~https://github.com/pacollins/wdwapcalc/issues/new">let me know</a>
and I'll adjust it.</p>
<p>Remember, you don't have to get everyone an Annual Pass to get the
savings an Annual Pass gets you.</p>
<p>Prices current as of February 22, 2020.</p>
</div>
</div>
<!-- FOOTER -->
<footer class="uk-section uk-section-small uk-section-secondary uk-padding-small">
<div class="uk-container uk-container-small">
<p class="uk-text-center">
Copyright © 2017<script>new Date().getFullYear()>2017&&document.write("-"+new Date().getFullYear());</script> Patrick A Collins.
<br>
<a class="uk-button uk-button-default uk-margin-small" href="#license" uk-toggle>MIT License</a>
</p>
<div id="license" uk-modal>
<div class="uk-modal-dialog">
<button class="uk-modal-close-default" type="button" uk-close></button>
<div class="uk-modal-header">
<h2 class="uk-modal-title">MIT License</h2>
</div>
<div class="uk-modal-body">
<p>Copyright © 2017<script>new Date().getFullYear()>2017&&document.write("-"+new Date().getFullYear());</script> Patrick A Collins.</p>
<p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p>
<p>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p>
<p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p>
</div>
</div>
</div>
</footer>
<!-- JS FILES -->
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.1.5/js/uikit.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.1.5/js/uikit-icons.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.6/umd/popper.min.js"></script>
<script src="https://cdn.datatables.net/v/dt/dt-1.10.18/fh-3.1.4/r-2.2.2/datatables.min.js"></script>
<script src="script.js"></script>
</body>
</html>