interest drop down button
This commit is contained in:
+16
-1
@@ -50,4 +50,19 @@ function closeOverlay() {
|
||||
// or toggle it from anywhere:
|
||||
function openOverlay() {
|
||||
document.getElementById('overlay').style.display = 'flex';
|
||||
}
|
||||
}
|
||||
|
||||
function InterestShow() {
|
||||
const body = document.getElementById('interests-body');
|
||||
const chevron = document.getElementById('interests-chevron');
|
||||
chevron.classList.add("hidden")
|
||||
body.classList.remove("hidden")
|
||||
chevron.textContent = hidden ? '▶' : '▼';
|
||||
}
|
||||
|
||||
function toggleInterests() {
|
||||
const body = document.getElementById('interests-body');
|
||||
const chevron = document.getElementById('interests-chevron');
|
||||
const hidden = body.classList.toggle('hidden');
|
||||
chevron.textContent = hidden ? '▶' : '▼';
|
||||
}
|
||||
Reference in New Issue
Block a user