-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.js
50 lines (27 loc) · 1.07 KB
/
index.js
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
ScrollReveal({
reset:true,
distance:'70px',
duration:2500,
delay:200
});
ScrollReveal().reveal('.box-1111, .sponsers-section ',{delay:200, origin:'left', mobile: false});
ScrollReveal().reveal('.Hero-page-img, .speakers-heading, .about-heading',{delay:200, origin:'right', mobile: false});
ScrollReveal().reveal('.slider-container, .text-box, .map-registration',{delay:200, mobile: false});
// Map
map.on('load', function () {
map.resize();
});
// Btn------------------------------
show = () => {
if (document.getElementById("brdrgrp").style.display === "none") {
brdrgrp = document.getElementById("brdrgrp");
brdrgrp.style.display = "block";
brdrgrp.style.marginTop = "5px";
document.getElementById("participateNow").classList.remove('bi-arrow-down');
document.getElementById("participateNow").classList.add('bi-x-lg');
} else {
document.getElementById("brdrgrp").style.display = "none";
document.getElementById("participateNow").classList.remove('bi-x-lg');
document.getElementById("participateNow").classList.add('bi-arrow-down');
}
}