-
Notifications
You must be signed in to change notification settings - Fork 1
/
becomeHost.html
686 lines (606 loc) · 28.1 KB
/
becomeHost.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
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Patner page of zoom</title>
<!-- <link rel="stylesheet" href="./nav1/styles/navstyles.css"> -->
<link rel="stylesheet" href="./nav1/styles/navstyles.css">
<script src="https://code.jquery.com/jquery-3.4.1.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
<script src="https://kit.fontawesome.com/b58749077b.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="./becomeHost.css">
</head>
<body>
<div id="pagebox">
<div id="navbar_container"></div>
<!-- Modal Refer AND Earn-->
<div class="modal fade" id="referandEarn" tabindex="1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" style="min-width: 50%;" role="document">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title" id="exampleModalCenterTitle">Refer and Earn</h1>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div id="modalbox">
<div id="modalheading">
<p class="modalheading1">You earn Rs. 75,000/-</p>
<p class="modalheading1">Your Friend Gets Rs.10,000/-</p>
<p class="modalheading1">You Both Win</p>
</div>
<div id="modalimage">
<img src="https://www.zoomcar.com/zap/subscribe/build/2dac7c3e3ed475d15bf341d377b66ed9.svg" alt="modalimage">
</div>
<div id="logo">
<div class="logobox1">
<img src="https://www.zoomcar.com/zap/subscribe/build/57cc7c360d39278b0396db7f870e7cd0.png" alt="whatsaaplogo">
<br>
<br>
<h5>Whatsaap</h5>
</div>
<div class="logobox2">
<img src="https://www.zoomcar.com/zap/subscribe/build/511323b8e90983b78fe644c8c9075cf2.png" alt="facebooklogo">
<br>
<br>
<h5>Facebook</h5>
</div>
<div class="logobox2">
<img src="https://www.zoomcar.com/zap/subscribe/build/56993356b7e8876d8eadb92affa38ab7.png" alt="twitterlogo">
<br>
<br>
<h5>Twitter</h5>
</div>
<div class="logobox2">
<img src="https://www.zoomcar.com/zap/subscribe/build/660be3fc6381ddb61de93a26d3720783.png" alt="codecopy">
<br>
<br>
<h5>Copy Code</h5>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="cardcontainer">
<div class="card" >
<img class="card_img" src="https://www.zoomcar.com/zap/subscribe/build/a2ff940380f1315a0c0aacefb766e858.jpg " alt="Card image">
<div class="card-img-overlay">
<h1 class="image_text" >Share your car when</h1>
<h1 class="image_text">not in use and earn</h1>
<h1 class="image_text">up to ₹ 36,000 per month</h1>
<!-- <p class="card_text">Earn fixed amount per sharing hour.
Guaranteed weekly payment
</p> -->
<h4 id="card_text1" class="card-text">Earn fixed amount per sharing hour</h4>
<h4 id="card_text1" class="card-text">Guaranteed weekly payment.</h4>
<h4 id="card_text1" class="card-text">No Conditions Apply.</h4>
<a id="imagebutton" href="./earnings/earning.html" class="btn btn-success btn-lg" role="button"> <h3>Start Earning</h3></button>
</a>
</div>
</div>
</div>
<div id="videofile">
<video controls autoplay preload="auto" loop muted height="500" width="100%">
<source src="https://www.zoomcar.com/zap/subscribe/build/64440836bb2a2ee19961407349dece57.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>
</div>
<div class="box2" class="continer">
<div class="row">
<div class="col">
<img src="https://www.zoomcar.com/zap/subscribe/build/117d80a7f824b4efbb7680b2daffbd78.webp" alt="">
</div>
</div>
</div>
<div class="para">
<h1>3 Simple steps to start Earning with your car in</h1>
<h1 id="line2">24 hours</h1>
</div>
<div class="box3">
<div class="inner_box1">
<h1>1. Sign up for Free</h1>
<br>
<p>Become part of the Zoom car Host program for absolutely free by filling up a short <a href="form.html">form</a>
after sign-up. It takes less-than 2 minutes to fill the form. No hidden charges.</p>
</div>
<div class="inner_box2">
<img src="https://www.zoomcar.com/zap/subscribe/build/bb6776beb9b8bacdc711e5a43f401134.svg" alt="sample image">
</div>
</div>
<div class="box3">
<div class="inner_box3">
<img src="https://www.zoomcar.com/zap/subscribe/build/29d798d8bc5d57bf22445ed3cc67cff1.svg" alt="sample image">
</div>
<div class="inner_box4">
<h1>2. Get your Car Health Checked</h1>
<br>
<p>Once we receive your details, our experts visits your location to assess your vehicle , and install
safety devices into it to ensure complete safety of your car. It all happens in 24 hours</p>
</div>
</div>
<div class="box3">
<div class="inner_box1">
<h1>3. Share and Earn</h1>
<br>
<p>Share your car through the Zoomcar Host app whenever you are not using it. Flexibility is sharing,
share as much or as less as you like. Your weekly earnings get credited directly to your bank
account!</p>
</div>
<div class="inner_box2">
<img src="https://www.zoomcar.com/zap/subscribe/build/4b4760bd81c2f4f8ec02bf396b33358c.svg" alt="sample image">
</div>
</div>
<div class="para1">
<h1>How we protect your car</h1>
</div>
<div id="parabox">
<div class="paraminibox">
<div class="card" >
<img class="card-img-top" src="https://www.zoomcar.com/zap/subscribe/build/e2bfa54a9b46567921c3f14e1276c68e.svg" alt="Card image cap">
<div class="card-body">
<h4 class="card-title">We cover major damages and repair</h4>
<p >Zoomcar provides damage cover and repair</p>
<p>handling in case of an unlikely incident of a </p>
<p>accident during the sharing period/ when your</p>
<p>is on a booking.</p>
</div>
</div>
</div>
<div class="paraminibox">
<div class="card" >
<img class="card-img-top" src="https://www.zoomcar.com/zap/subscribe/build/1f4b5b69d928bbf104735bdea4914f79.svg" alt="Card image cap">
<div class="card-body">
<h4 class="card-title">Your car stays in safe hands!</h4>
<p class="card-text">All our renters are verified individuals with valid</p>
<p>Driving license, and have excellent driving stats</p>
<p>in the past on our platform. We have complete</p>
<p>contact and address details of all our renters.</p>
</div>
</div>
</div>
<div class="paraminibox">
<div class="card" >
<img class="card-img-top" src="https://www.zoomcar.com/zap/subscribe/build/eb002ff59dd838a60fd664d21539d877.svg" alt="Card image cap">
<div class="card-body">
<h4 class="card-title">Contactless Sharing</h4>
<p class="card-text">Our Keyless technology enables contactless</p>
<p>pickup & drop of your car.</p>
</div>
</div>
</div>
<div class="paraminibox">
<div class="card" >
<img class="card-img-top" src="https://www.zoomcar.com/zap/subscribe/build/584189ee6116aeef9f0bfad788813be1.svg" alt="Card image cap">
<div class="card-body">
<h4 class="card-title">Flexibility in Sharing</h4>
<p class="card-text">Share your car whenever you want, as per your</p>
<p>usage and convenience.</p>
</div>
</div>
</div>
<div class="paraminibox">
<div class="card" >
<img class="card-img-top" src="https://www.zoomcar.com/zap/subscribe/build/d43c29ab6f2dcd27507de6aa29c8219b.svg" alt="Card image cap">
<div class="card-body">
<h4 class="card-title">24 x 7 Customer Support</h4>
<p class="card-text">Call us, Chat with us, drop an Email to us, we've</p>
<p>got your back round the clock!</p>
</div>
</div>
</div>
</div>
<div id="container">
<div id="para1">
<h1>Growing Rapidly</h1>
<br>
<br>
<p class="p">Join Host program and be part of the largesttech enabledcar sharing marketplace</p>
</div>
<div id="para2">
<div class="para1_box">
<div class="para1_imgbox">
<img src="https://www.zoomcar.com/zap/subscribe/build/e3a6d127cac35a3a7a139256bb3761eb.png" alt="">
</div>
<br>
<br>
<h1>5000+</h1>
<br><br>
<h3>Satisfied hosts</h3>
</div>
<div class="line"></div>
<div class="para1_box">
<div class="para1_imgbox">
<img src="https://www.zoomcar.com/zap/subscribe/build/4a5f55fc81b9a6df6a460a025fdfa509.png" alt="">
</div>
<br>
<br>
<h1>5lak+</h1>
<br><br>
<h3>Bookings served</h3>
</div>
<div class="line"></div>
<div class="para1_box">
<div class="para1_imgbox">
<img src="https://www.zoomcar.com/zap/subscribe/build/36da13bf403485c4efacd507efd93735.png" alt="">
</div>
<br>
<br>
<h1>32Cr+</h1>
<br><br>
<h3>KMs Run</h3>
</div>
<div class="line"></div>
<div class="para1_box">
<div class="para1_imgbox">
<img src="https://www.zoomcar.com/zap/subscribe/build/c0db9479a08980b830b63433f60d336c.png" alt="">
</div>
<br>
<br>
<h1>Rs. 120Cr+</h1>
<br><br>
<h3>Earned by hosts</h3>
</div>
</div>
</div>
<div id="calculator">
<h1>Share your <a href="#" data-toggle="modal" data-target="#thirdmodal">XUV 500</a> </h1>
<h1>and earn up to Rs. 29,760 per month </h1>
<p>Earn fixed amount per sharing</p>
<a href="./earnings/earning.html" class="btn btn-success btn-lg active" role="button" id="startearning_btn"> <h3>Start Earning</h3></button>
</a>
</div>
<!-- Modal Calculator-->
<div class="modal fade" id="thirdmodal" tabindex="1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" style="min-width: 50%;" role="document">
<div class="modal-content">
<div class="modal-header">
<h5>Earn upto</h5>
<h4>₹ 18,000/mo</h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div id="calmain">
<form id="mainform">
<div class="form-group">
<select class="form-control form-control-lg" id="dropbox1">
<option class="value">Mahindra</option>
<option class="value">Toyota</option>
<option class="value">Maruti</option>
<option class="value">Tata</option>
<option class="value">Ranault</option>
<option class="value">Hyundai</option>
<option class="value" value="Kolkata">Honda</option>
<option class="value" value="Coimbatore">Ford</option>
<option class="value" value="Manglore">Nisaan</option>
<option class="value" value="Mysore">Mysore</option>
<option class="value" value="Goa">Goa</option>
</select>
</div>
</form>
<form id="mainform">
<div class="form-group">
<select class="form-control form-control-lg" id="dropbox2">
<option class="value">XUV 500</option>
<option class="value">KUV 100</option>
<option class="value">Marazzo</option>
<option class="value">XUV 500 AT</option>
<option class="value">Scorpio</option>
<option class="value">TUV 300</option>
</select>
</div>
</form>
<div id="scrollbox1">
<button type="button" class="modalbuttons btn btn-outline-success btn-lg" >XUV 500</button>
<button type="button" class="modalbuttons btn btn-outline-success btn-lg" >Baleno</button>
<button type="button" class="modalbuttons btn btn-outline-success btn-lg" >Tiago</button>
<button type="button" class="modalbuttons btn btn-outline-success btn-lg" >Swift</button>
<button type="button" class="modalbuttons btn btn-outline-success btn-lg" >Dzire(Petrol)</button>
<button type="button" class="modalbuttons btn btn-outline-success btn-lg" >Kwid</button>
<button type="button" class="modalbuttons btn btn-outline-success btn-lg" >Celerio</button>
<button type="button" class="modalbuttons btn btn-outline-success btn-lg" >Amaze</button>
<button type="button" class="modalbuttons btn btn-outline-success btn-lg" >Ertiga</button>
<button type="button" class="modalbuttons btn btn-outline-success btn-lg" >Verna</button>
</div>
<div id="priceselector">
<form>
<div class="form-group">
<input type="range" class="form-control-range" id="formControlRange">
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Modal estimate your earning -->
<div class="modal fade" id="secondpopup" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" style="min-width: 47%;" >
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="exampleModalCenterTitle">How do we estimate your earning</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div id="modalbox1">
<div id="firstbox">
<div class="icon">
<i class="fas fa-hand-holding-usd fa-4x" id="firsticon"></i>
</div>
<div class="icon_content">
<p class="data">Earning potentail of car is calculated on the basis of fixed</p>
<p class="data">amount earned when car is shared for 24 hours everyday.</p>
</div>
</div>
<div id="secondbox">
<div class="icon2">
<i class="far fa-calendar-alt fa-4x" id="secondicon"></i>
</div>
<div class="icon_content2">
<p class="data">Fixed amount in the calculation is as per the following car</p>
<p class="data">classification</p>
</div>
</div>
<div id="thirdbox">
<ul>
<li>₹100/ hour for luxury cars</li>
<li>₹50/ hour for SUV / EVs</li>
<li>₹40/ hour for Sedan / Compact SUV</li>
<li>₹35/ hour for hatchback cars!</li>
</ul>
</div>
<div id="fourthbox">
<div class="icon3">
<i class="fas fa-clipboard-list fa-4x" id="fourthicon"></i>
</div>
<div class="icon_content3">
<p class="data">You may use the calculator to explore more about the car and</p>
<p class="data">the earning potential by selecting the variant of your choice.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="estimatepop">
<a href="#" data-toggle="modal" data-target="#secondpopup"><h5>how we estimate your earning ?</h5></a>
</div>
</div>
<div id="referEarn">
<div id="innerbox">
<h1>You Earn Rs.75,000/-</h1>
<h1>Your friend Gets Rs.10,000/-</h1>
<br>
<h4>Your Both Win</h4>
<br>
<button type="button" class="btn-success btn-lg"id="earnbutton" data-toggle="modal" data-target="#referandEarn"> <h3>Refer and Earn</h3></button>
</div>
<div id="image">
<img src="https://www.zoomcar.com/zap/subscribe/build/b561826c55602da000820bda8422a23d.webp" alt="box image">
</div>
<div id="para">
<p>This opportunity is for your friend in Banglore.Pune,Delhi NCR,Mumbai,ChennaiHyderabad,Kolkata,Coimbatore,Mangalore,Mysore, & Goa</p>
<p>only</p>
<p>Refer multiple friends to earn upto Rs.1 lakh.</p>
</div>
</div>
<!-- below the star animation -->
<div id="animation">
<div id="text"><h1>Users Love Zoomcar Host Program. Our app has 4.5+ rating on play store!</h1></div>
<div id="video">
<video autoplay preload="auto" loop muted height="100%" width="100%">
<source src="https://www.zoomcar.com/zap/subscribe/build/993b9e144e89da0b2a0df580e13a2cbe.mp4" type="video/mp4">
<source src="https://www.zoomcar.com/zap/subscribe/build/993b9e144e89da0b2a0df580e13a2cbe.mp4" type="video/ogg">
Your browser does not support the video tag.
</video>
</div>
</div>
<div id="contentdropdown">
<div id="headingpart">
<h1 class="headingcontent">Still Have</h1>
<h1 class="headingcontent">questions ?</h1>
</div>
<div id="clickdrop">
<div class="box1">
<p class="topcontentbox" id="dropdown">Do i need to meet the renters of my car ? </p>
</div>
<div class="box2 " id="box2" >
<div class="bottomcontentbox">
<p >We have installed the keyless entry devices in your car, which makes sure that you need not meet any </p>
<p>of the renters in person,either at the start,or at the end of any booking. </p>
</div>
</div>
<div class="line"></div>
<div class="box1">
<p class="topcontentbox" id="dropdown2">How will i get paid ?</p>
</div>
<div class="box2 " id="minibox3" >
<div class="bottomcontentbox">
<p >Your total earnings will be credited to your bank account every week. You can access your </p>
<p>details earnings through our Zoomcar Host app.</p>
</div>
</div>
<div class="line"></div>
<div class="box1">
<p class="topcontentbox" id="dropdown3">What happens if my car gets challans or traffic fines while my car is being shared?</p>
</div>
<div class="minibox" id="box4" >
<div class="bottomcontentbox">
<p>Zoomcar will take care all challans incurred during car sharing.</p>
</div>
</div>
<div class="line"></div>
<div class="box1">
<p class="topcontentbox" id="dropdown4">How the price of my car is decided ?</p>
</div>
<div class="box2 " id="box5" >
<div class="bottomcontentbox">
<p >Our intelliget demand based pricing system optimizes the price of your car. We also send you</p>
<p>suggestion for peak seasons to share your car. We ensure you get maximum earning while sharing car.</p>
</div>
</div>
<div class="line"></div>
<div class="box1">
<p class="topcontentbox" id="dropdown5">Why are safety devices installed ?</p>
</div>
<div class="box2 " id="box6" >
<div class="bottomcontentbox">
<p >These are zoomcar's proprietary tech devices. They are installed in the car to keep track of car health</p>
<p>and location of your car. It keeps your car safe when shared with Guests</p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
<script type="module">
import navbar from "/nav1/components/nav.js"
let navbar_container = document.getElementById("navbar_container");
navbar_container.innerHTML=navbar();
$(".btn").click(function () {
$(this).toggleClass("click");
$(".sidebar").toggleClass("show");
});
var pro_name = JSON.parse(localStorage.getItem("mydetails:"));
if (!pro_name || pro_name == undefined) {
let profile_name = document.getElementById("profile_name");
let side_login = document.getElementById("side_login");
profile_name.innerText = "Login/Signup";
profile_name.innerText = "Login/Signup";
} else if (profile_name !== undefined) {
let logout = document.getElementById("logout");
logout.innerText = "Log Out";
let logouticon = document.getElementById("logouticon");
logouticon.innerHTML = `<i class="fas fa-sign-out-alt"></i>`;
let profile_name = document.getElementById("profile_name");
let side_login = document.getElementById("side_login");
profile_name.innerText = pro_name.name; //just for time being
side_login.innerText = pro_name.name;
let profilea = document.createElement("a");
profilea.innerHTML = `<i class="far fa-user-circle"></i>`;
profilea.href = "profile.html";
profilea.id = "profilea";
let profilepicappen = document.getElementById("profilepicappen");
profilepicappen.append(profilea);
logout.addEventListener("click", function () {
profile_name.innerText = "Login/Signup";
profile_name.innerText = "Login/Signup";
window.location.href = "navbar.html";
localStorage.removeItem("mydetails:");
});
}
document.getElementById("supermiler").addEventListener("click", gotoSupermiler);
function gotoSupermiler() {
window.location.href = "./Arundhathi_Menon/supermiler.html";
}
document.getElementById("zms").addEventListener("click", zmsFun);
function zmsFun() {
window.location.href = "./Arundhathi_Menon/ZMS.html";
}
document.getElementById("profile_name").addEventListener("click", logFun);
function logFun() {
window.location.href = "./Arundhathi_Menon/profile.html";
}
var p = document.getElementById("dropdown");
var box2 = document.getElementById('box2');
var switchh = 0;
p.addEventListener('click',function (){
if(switchh==0) {
switchh = 1;
console.log(switchh);
// box2.classList.remove("displayoff");
box2.style.height= "0px";
}
else if(switchh == 1) {
switchh = 0;
console.log(switchh);
// box2.classList += " displayoff";
box2.style.height= "80px";
}
});
var p = document.getElementById("dropdown2");
var minibox3 = document.getElementById('minibox3');
var value1 = 0;
p.addEventListener('click',function (value){
if(value1==0) {
value1 = 1;
console.log(value1);
// box2.classList.remove("displayoff");
minibox3.style.height= "100px";
}
else if(value1 == 1) {
value1 = 0;
console.log(value1);
// box2.classList += " displayoff";
minibox3.style.height= "0px";
}
});
var p = document.getElementById("dropdown3");
var box4 = document.getElementById('box4');
var value2 = 0;
p.addEventListener('click',function (value){
if(value2==0) {
value2 = 1;
console.log(value2);
// box2.classList.remove("displayoff");
box4.style.height= "100px";
}
else if(value2 == 1) {
value2 = 0;
console.log(value2);
// box2.classList += " displayoff";
box4.style.height= "0px";
}
});
var p = document.getElementById("dropdown4");
var box5 = document.getElementById('box5');
var value3 = 0;
p.addEventListener('click',function (value){
if(value3==0) {
value3 = 1;
console.log(value3);
// box2.classList.remove("displayoff");
box5.style.height= "100px";
}
else if(value3 == 1) {
value3 = 0;
console.log(value3);
// box2.classList += " displayoff";
box5.style.height= "0px";
}
});
var p = document.getElementById("dropdown5");
var box6 = document.getElementById('box6');
var value4 = 0;
p.addEventListener('click',function (value){
if(value4==0) {
value4 = 1;
console.log(value4);
// box2.classList.remove("displayoff");
box6.style.height= "100px";
}
else if(value4 == 1) {
value4 = 0;
console.log(value4);
// box2.classList += " displayoff";
box6.style.height= "0px";
}
});
</script>