-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
573 lines (523 loc) · 22.6 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
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>75 Custom Designer - Lemon Banjo and Supply</title>
<link rel="stylesheet" href="assets/css/styles.css">
</head>
<body>
<header>
<h1>Lemon Banjo and Supply</h1>
<nav>
<a href="#">About</a>
<a href="#">Shop</a>
<a href="#">Repair</a>
<a href="#">Design a Banjo</a>
<a href="#">Hear Lemon Banjos</a>
<a href="#">Blog</a>
</nav>
</header>
<div class="container">
<div class="box" id="option_selector">
<h2>Option Selector</h2>
<details id="banjoSizeSelect" open>
<summary>Banjo Type</summary>
<form id="banjoType">
<!-- Right or Left Hand -->
<div class="optionDiv">
<h3>Will your banjo be left-handed or right-handed?</h3>
<select name="RightLeft" id="RightLeftSelect">
<option value="rightHandBanjo">Right-handed</option>
<option value="leftHandBanjo" disabled>Left-handed</option>
</select>
</div>
<!-- Banjo Type -->
<div class="optionDiv">
<h3>What type of banjo are you interested in?</h3>
<select name="banjoType" id="banjoTypeSelect">
<option value="resoBanjo">Resonator Banjo (Bluegrass)</option>
<option value="open11Banjo" >11-inch Open Back Banjo (Oldtime)</option>
<option value="open12Banjo" disabled>12-inch Open Back Banjo (Oldtime)</option>
</select>
</div>
</form>
</details>
<details id="potAssySelect">
<summary>Pot Assembly</summary>
<form id="resoPot">
<!-- Rim Wood -->
<div class="optionDiv">
<h3>What type of wood would you like your rim to be built from?</h3>
<select name="rimWood" id="rimWoodSelect">
<option value="rMplRim">Red Maple</option>
<option value="tRMplRim">Torrefied Red Maple</option>
<option value="hMplRim">Hard Maple</option>
<option value="tHMplRim">Torrefied Hard Maple</option>
<option value="mahogRim">Mahogany</option>
<option value="bCherRim">Black Cherry</option>
<option value="walRim">Black Walnut</option>
<option value="yBirRim">Yellow Birch</option>
<option value="tYBirRim">Torrefied Yellow Birch</option>
</select>
</div>
<!-- Tone Ring Selection -->
<div class="optionDiv">
<h3>What type of tone ring?</h3>
<select name="toneRing" id="toneRingSelect">
<option value="RB00">Wooden Bead (like an RB-00)</option>
<option value="14F">1/4" Brass Hoop - Flathead Type</option>
<option value="14A">1/4" Brass Hoop - Archtop Type</option>
<option value="IFW">Integrated Flathead Woodie</option>
<option value="IAW">Integrated Archtop Woodie</option>
<option value="IAFW">Integrated Almost Flathead Woodie</option>
<option value="EZ" hidden>EZ-Swap Wooden Tone Ring</option>
<option value="metal">Metal Tone Ring of Your Choice</option>
</select>
</div>
<!-- EZ Swap Options -->
<div class="optionDiv ezSwap" style="display: none;">
<h3>Which profile for your EZ-Swap Wooden Tone Ring?</h3>
<select name="ezSwap" id="ezSwapSelect">
<option value="ezFlat">Flathead</option>
<option value="ezArch">Archtop</option>
<option value="ezAF">Almost Flathead</option>
</select>
</div>
<div class="optionDiv ezSwap" style="display: none;">
<h3>What type of wood for your EZ-Swap Wooden Tone Ring?</h3>
<select name="ezSwapWood" id="ezSwapWoodSelect">
<option value="ezhMpl">Hard Maple</option>
<option value="eztHMpl">Torrefied Hard Maple</option>
<option value="ezOsag">Osage Orange</option>
</select>
</div>
<!-- Metal Ring Options -->
<div class="optionDiv metalRing" style="display: none;">
<label for="metalToneRing">Enter the brand and name of the metal tone ring you wish to use (ie. "Sullivan Vintage 35")</label><br>
<input type="text" id="metalRing" name="metalToneRing"><br>
</div>
<!-- Hardware Style Options -->
<div class="optionDiv">
<h3>What style of hardware?</h3>
<select name="hardware" id="hardwareSelect">
<option value="1PF">One Piece Flange, Standard</option>
<option value="2PF">Two Piece Flange, Standard</option>
<option value="topT">One Piece Flange, Top Tension</option>
</select>
</div>
<!-- Plating Options -->
<div class="optionDiv">
<h3>What type of plating on your metal hardware?</h3>
<select name="plating" id="platingSelect">
<option value="nickel">Nickel Plating</option>
<option value="chrome">Chrome Plating</option>
<option value="gold">Gold Plating</option>
</select>
</div>
<!-- Tailpiece -->
<div class="optionDiv">
<h3>What kind of tailpiece?</h3>
<select name="tailpiece" id="tailpieceSelect">
<option value="presto">Presto</option>
<option value="kershner">Kershner</option>
<option value="two-hump">Two-Hump</option>
<option value="clamshell">Clamshell</option>
</select>
</div>
</form>
<form id="openPot" style="display: none;">
<!-- Rim Wood -->
<div class="optionDiv">
<h3>What type of wood would you like your rim to be built from?</h3>
<select name="rimWood" id="rimWoodSelect">
<option value="rMplRim">Red Maple</option>
<option value="tRMplRim">Torrefied Red Maple</option>
<option value="hMplRim">Hard Maple</option>
<option value="tHMplRim">Torrefied Hard Maple</option>
<option value="mahogRim">Mahogany</option>
<option value="bCherRim">Black Cherry</option>
<option value="walRim">Black Walnut</option>
<option value="yBirRim">Yellow Birch</option>
<option value="tYBirRim">Torrefied Yellow Birch</option>
</select>
</div>
<!-- Tone Ring Selection -->
<div class="optionDiv">
<h3>What type of tone ring?</h3>
<select name="toneRing" id="toneRingSelect">
<option value="RB00">Wooden Bead (like an RB-00)</option>
<option value="14F">1/4" Brass Hoop - Flathead Type</option>
<option value="14A">1/4" Brass Hoop - Archtop Type</option>
<option value="IFW">Integrated Flathead Woodie</option>
<option value="IAW">Integrated Archtop Woodie</option>
<option value="IAFW">Integrated Almost Flathead Woodie</option>
<option value="EZ">EZ-Swap Wooden Tone Ring</option>
<option value="metal">Metal Tone Ring of Your Choice</option>
</select>
</div>
<!-- EZ Swap Options -->
<div class="optionDiv ezSwap">
<h3>Which profile for your EZ-Swap Wooden Tone Ring?</h3>
<select name="ezSwap" id="ezSwapSelect">
<option value="ezFlat">Flathead</option>
<option value="ezArch">Archtop</option>
<option value="ezAF">Almost Flathead</option>
</select>
</div>
<!-- EZ Swap Wood Options -->
<div class="optionDiv ezSwap">
<h3>What type of wood for your EZ-Swap Wooden Tone Ring?</h3>
<select name="ezSwapWood" id="ezSwapWoodSelect">
<option value="ezhMpl">Hard Maple</option>
<option value="eztHMpl">Torrefied Hard Maple</option>
<option value="ezOsag">Osage Orange</option>
</select>
</div>
<!-- Metal Ring Options -->
<div class="optionDiv metalRing">
<label for="metalToneRing">Enter the brand and name of the metal tone ring you wish to use (ie. "Sullivan Vintage 35")</label><br>
<input type="text" id="metalRing" name="metalToneRing"><br>
</div>
<!-- Flange Options -->
<div class="optionDiv">
<h3>What style of pot assembly?</h3>
<select name="potStyle" id="potStyleSelect">
<option value="brackShoes">Bracket Shoes</option>
<option value="tube">Tube</option>
</select>
</div>
<!-- Plating Options -->
<div class="optionDiv">
<h3>What type of plating on your metal hardware?</h3>
<select name="plating" id="platingSelect">
<option value="nickel">Nickel Plating</option>
<option value="chrome">Chrome Plating</option>
<option value="gold">Gold Plating</option>
<option value="blackN">Black Powder Coat w/ Nickel Hooks and Nuts</option>
<option value="blackG">Black Powder Coat w/ Gold Hooks and Nuts</option>
</select>
</div>
<!-- Tailpiece Options -->
<div class="optionDiv">
<h3>What kind of tailpiece?</h3>
<select name="tailpiece" id="tailpieceSelect">
<option value="noKnot">No-Knot</option>
<option value="presto">Presto</option>
<option value="kershner">Kershner</option>
<option value="two-hump">Two-Hump</option>
<option value="clamshell">Clamshell</option>
</select>
</div>
<!-- Neck Attachment Options -->
<div class="optionDiv">
<h3>What type of neck attachment hardware?</h3>
<select name="neckAtt" id="neckAttSelect">
<option value="singRod">Single Coordinator Rod</option>
<option value="dualRod">Dual Coordinator Rods</option>
<option value="rudyRod">Rudy Rod</option>
</select>
</div>
</form>
</details>
<details id="neckSelect">
<summary>Neck and Fretboard</summary>
<form id="neck">
<!-- Neck Wood -->
<div class="optionDiv">
<h3>What type of wood for your neck?</h3>
<select name="neckWood" id="neckWoodSelect">
<option value="strMpl">Straight Maple</option>
<option value="mahog">Mahogany</option>
<option value="walnut">Walnut</option>
<option value="curMpl">Curly Maple</option>
</select>
</div>
<!-- Scale Length -->
<div class="optionDiv">
<h3>What scale length would you like?</h3>
<select name="scale" id="scaleSelect">
<option value="25-12" disabled>25 1/2"</option>
<option value="26-14" disabled>26 1/4" (Bowtie)</option>
<option value="26-38">26 3/8" (Prewar)</option>
</select>
</div>
<!-- Nut Width -->
<div class="optionDiv">
<h3>What nut width would you like?</h3>
<select name="nut" id="nutSelect">
<option value="1-3/16nut">1 3/16" (Standard)</option>
<option value="1-1/4nut" disabled>1 1/4"</option>
<option value="1-5/16nut" disabled disabled>1 5/16" (Crowe)</option>
<option value="1-3/8nut" disabled>1 3/8"</option>
</select>
</div>
<!-- Fretboard Radius -->
<div class="optionDiv">
<h3>Would you like a radiused fretboard?</h3>
<select name="radius" id="radiusSelect">
<option value="noRadius">No Radius</option>
<option value="12SimRadius" disabled>12" Simple Radius</option>
</select>
</div>
<!-- Number of Frets -->
<div class="optionDiv">
<h3>How many frets?</h3>
<select name="numFrets" id="numFretsSelect">
<option value="15frets" disabled>15 + 2 frets with Scoop</option>
<option value="22frets">22 frets</option>
<option value="24frets" disabled>24 frets with extended fretboard</option>
</select>
</div>
<!-- Fretboard Wood -->
<div class="optionDiv">
<h3>What type of wood for your fretboard?</h3>
<select name="fbWood" id="fbWoodSelect">
<option value="fbRose">Rosewood</option>
<option value="fbEbony">Ebony</option>
<option value="fbYellow" disabled>Yellowheart</option>
</select>
</div>
<!-- Fretboard Inlay Material -->
<div class="optionDiv">
<h3>What type of inlay material in your fretboard?</h3>
<select name="fbInlayMat" id="fbInlayMatSelect">
<option value="fbWMop">White Mother of Pearl</option>
<option value="fbAbalone">Abalone</option>
</select>
</div>
<!-- Fretboard Inlay Pattern -->
<div class="optionDiv">
<h3>What type of inlay material in your fretboard?</h3>
<select name="fbInlayPat" id="fbInlayPatSelect">
<option value="dots1">Dots: 5, 7, 10, 12, 15</option>
<option value="dots2">Dots: 5, 7, 10, 12, 15, 17</option>
<option value="dots3">Dots: 5, 7, 10, 12, 15, 17, 19, 22</option>
<option value="dots4">Dots: 3, 5, 7, 10, 12, 15, 17, 19, 22</option>
<option value="diamSq">Diamonds and Squares</option>
<option value="seagulls">Seagulls</option>
<option value="bowties1">Bowties w/ 22nd</option>
<option value="bowties2">Bowties w/o 22nd</option>
<option value="leavB1">Leaves and Bows 1</option>
<option value="leavB2">Leaves and Bows 2</option>
<option value="leavB3">Leaves and Bows 3</option>
<option value="flyEag">Flying Eagles</option>
<option value="wreath">Wreath</option>
<option value="rb7">RB-7</option>
<option value="rb12">RB-12/18</option>
<option value="blackJ">Blackjack</option>
<option value="hearts1">Hearts and Flowers</option>
<option value="hearts2">Hearts and Flowers w/ 15th</option>
<option value="hearts3">Hearts and Flowers w/ 1st and 15th</option>
<option value="floren">Florentine</option>
<option value="bella">Bella Voce</option>
</select>
</div>
<!-- Fretboard Binding Options -->
<div class="optionDiv">
<h3>What binding would you like to be around your fretboard?</h3>
<select name="fbBind" id="fbBindSelect">
<option value="noFbBind">None</option>
<option value="whiteFbBind">White</option>
<option value="wbwFbBind">White/Black/White</option>
<option value="blackFbBind">Black</option>
<option value="ivorFbBind">Ivoroid</option>
<option value="ivwFbBind">Ivoroid/Black/White</option>
<option value="tortFbBind">Tortoise Shell/White/Black</option>
<option value="curlFbBind">Curly Maple/Black/White/Black</option>
<option value="pearlFbBind">White Pearloid</option>
</select>
</div>
<!-- Name Block -->
<div class="optionDiv">
<h3>What would you like your name block to read?</h3>
<p><i>The location of the name block will either be the 15th, 21st, 22nd, or 24th fret, depending on the inlay pattern selected and the number of frets selected</i></p>
<input type="radio" id="defaultBlockID" name="nameBlock" value="75Custom">
<label for="75Custom">75 Custom (Default Value)</label><br>
<input type="radio" id="customBlockID" name="nameBlock" value="customName">
<label for="customName">Choose your own</label><br>
<br>
<label for="customBlockText" style="display: none;">Custom Block Text (15 Characters or less): </label>
<input type="text" id="customBlockValue" name="customBlockText" maxLength="15" style="display: none;">
</div>
<!-- Frets -->
<div class="optionDiv">
<h3>What type of frets?</h3>
<select name="fretMat" id="fretMatSelect">
<option value="nickelFret">Nickel-Silver</option>
<option value="steelFret">Stainless Steel</option>
</select>
</div>
<!-- Heel Cap Material -->
<div class="optionDiv">
<h3>Which heel cap material do you prefer?</h3>
<select name="heelCapMat" id="heelCapMatSelect">
<option value="noHeelCap">None</option>
<option value="rosewoodHeelCap">Rosewood</option>
<option value="ebonyHeelCap">Ebony</option>
<option value="curlyHeelCap">Curly Maple</option>
<option value="whiteHeelCap">White</option>
<option value="ivorHeelCap">Ivoroid</option>
<option value="pearlHeelCap">White Pearloid</option>
<option value="checkHeelCap" hidden>Checkerboard</option>
<option value="goldHeelCap" hidden>Gold Sparkle</option>
</select>
</div>
<!-- Heel Cap Binding -->
<div class="optionDiv">
<h3>What kind of heel cap binding would you like?</h3>
<select name="heelCapBind" id="heelCapBindSelect">
<option value="noHeelBind">None</option>
<option value="whiteHeelBind">White</option>
<option value="wbwHeelBind">White/Black/White</option>
<option value="blackHeelBind">Black</option>
<option value="ivorHeelBind">Ivoroid</option>
<option value="ivwHeelBind">Ivoroid/Black/White</option>
<option value="tortHeelBind">Tortoise Shell/White/Black</option>
<option value="curlHeelBind">Curly Maple/Black/White/Black</option>
<option value="pearlHeelBind">White Pearloid</option>
</select>
</div>
</form>
</details>
<details id="headstockSelect">
<summary>Headstock</summary>
<form id="headstock">
<!-- Headstock Shape -->
<div class="optionDiv">
<h3>Which headstock shape do you prefer?</h3>
<select name="hsShape" id="hsShapeSelect">
<option value="doubleCutHS">Double Cut</option>
<option value="fiddleCutHS1">Fiddle Cut 1</option>
<option value="fiddleCutHS2">Fiddle Cut 2</option>
<option value="kelHS" disabled>Kel Kroydon</option>
<option value="cokeHS" disabled>Coke Bottle</option>
<option value="style1HS" disabled>Style 1</option>
<option value="style00HS" disabled>Style 00</option>
<option value="paddleHS">Paddle</option>
<option value="flyHS">Flyswatter</option>
</select>
</div>
<!-- Headstock Overlay -->
<div class="optionDiv">
<h3>What type of wood for your headstock overlay?</h3>
<select name="hsOverlay" id="hsOverlaySelect">
<option value="rosewoodHS">Rosewood</option>
<option value="ebonyHS">Ebony</option>
<option value="yellowHS">Yellowheart</option>
</select>
</div>
<!-- Headstock Inlay Material -->
<div class="optionDiv">
<h3>What type of inlay material in your headstock?</h3>
<select name="hsInlayMat" id="hsInlayMatSelect">
<option value="hsWMop">White Mother of Pearl</option>
<option value="hsAbalone">Abalone</option>
</select>
</div>
<!-- Headstock Inlay Pattern -->
<div class="optionDiv">
<h3>Which inlay pattern do you want in your headstock?</h3>
<select name="hsInlayPat" id="hsInlayPatSelect">
<option value="hsLogoOnly">Lemon Logo Only</option>
<option value="hsDiam">Diamonds and Squares</option>
<option value="hsSeagulls">Seagulls</option>
<option value="hsBowtie">Bowtie</option>
<option value="hsLeaves">Leaves and Bows</option>
<option value="hsHearts">Hearts and Flowers</option>
<option value="hsFloren">Florentine</option>
<option value="hsWreath">Wreath</option>
<option value="hsRB7">RB-7</option>
<option value="hsRB12">RB-12/18</option>
<option value="hsFleur">Fleur-de-lis</option>
<option value="hsFlying">Flying Eagles</option>
<option value="hsBlackJ">Blackjack</option>
<option value="hsBella">Bella Voce</option>
</select>
</div>
<!-- Headstock Binding -->
<div class="optionDiv">
<h3>What type of headstock binding would you like?</h3>
<select name="hsBind" id="hsBindSelect">
<option value="hsBindNone">None</option>
<option value="hsBindWhite">White</option>
<option value="hsBindWhiteDbl">White Double</option>
<option value="hsBindWBWDbl">White/Black/White Double</option>
<option value="hsBindBlack">Black</option>
<option value="hsBindIvor">Ivoroid</option>
<option value="hsBindIvorDbl">Ivoroid Double</option>
<option value="hsBindIBW">Ivoroid/Black/White</option>
<option value="hsBindIBWDbl">Ivoroid/Black/White Double</option>
<option value="hsBindTort">Tortoise Shell/Black/White</option>
<option value="hsBindPearl">White Pearloid</option>
</select>
</div>
<!-- Tuners -->
<div class="optionDiv">
<h3>What brand of tuners do you prefer?</h3>
<select name="tuners" id="tunersSelect">
<option value="tunersGotoh">Gotoh 4:1 Ratio</option>
<option value="tunersRickard">Rickard 10:1 Ratio</option>
<option value="tunersKeith">Keith 4:1 Ratio</option>
<option value="tunersKeithD1">Keith 4:1 Ratio w/ D-Tuners on 2nd and 3rd</option>
<option value="tunersKeithD2">Keith D-Tuners on all 4</option>
</select>
</div>
<!-- Tuner Button Shape -->
<div class="optionDiv">
<h3>What shape tuner buttons do you want?</h3>
<select name="tunerButtonShape" id="tunerButtonShapeSelect">
<option value="tunerButtonOval">Oval</option>
<option value="tunerButtonKey">Keystone</option>
</select>
</div>
<!-- Tuner Button Color -->
<div class="optionDiv">
<h3>What color tuner buttons do you want?</h3>
<select name="tunerButtonColor" id="tunerButtonColorSelect">
<option value="tunerButtonCreamy">Creamy White</option>
<option value="tunerButtonPearl">White Pearloid</option>
<option value="tunerButtonIvor">Ivoroid</option>
<option value="tunerButtonAmber">Amber</option>
<option value="tunerButtonTort">Tortoise Shell</option>
<option value="tunerButtonEbony">Ebony</option>
<option value="tunerButtonBlack">Black</option>
</select>
</div>
</form>
</details>
<details id="resonatorSelect">
<summary>Resonator</summary>
<form id="headstock">
</form>
</details>
</div>
<div class="box" id="model_display">
<model-viewer
id="viewer"
src=""
alt="3D model"
auto-rotate
auto-rotate-delay="1000"
rotation-per-second="7deg"
camera-controls
loading="lazy"
camera-orbit="auto"
camera-target="auto">
</model-viewer>
<h3>3D Viewer Controls</h3>
<p>Left Mouse: Rotate
<br>Right Mouse: Pan
<br>Scroll: Zoom
</p>
</div>
</div>
<script type="module" src="https://unpkg.com/@google/model-viewer@latest"></script>
<script src="assets/js/modelFile.js"></script> <!--Uses the form data to select which model file to use-->
<script src="assets/js/banjoType.js"></script> <!--Shows or hides different forms depending on banjo type-->
<script src="assets/js/toneRingVisibility.js"></script> <!--Shows or hides different forms options depending on tone ring selection-->
<script src="assets/js/autoCloseDetails.js"></script><!--Controls the details panes-->
<script src="assets/js/archOrFlat.js"></script> <!--Controls visibility of arch or flat head-->
<script src="assets/js/resoHdw.js"></script> <!--Controls visibility and color of resonator banjo hardware -->
<script src="assets/js/tailpiece.js"></script> <!--Controls visibility and color of tailpiece -->
</body>
</html>