changes
This commit is contained in:
@@ -604,6 +604,21 @@
|
||||
},
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
const tabs = document.querySelectorAll('.accordion-content.resource');
|
||||
|
||||
tabs.forEach(tab => {
|
||||
tab.addEventListener('click', function () {
|
||||
// Remove highlight from all
|
||||
tabs.forEach(t => t.classList.remove('highlight-tab'));
|
||||
|
||||
// Add highlight to clicked one
|
||||
this.classList.add('highlight-tab');
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user