tweaks
This commit is contained in:
@@ -51,5 +51,16 @@
|
||||
<a href="#top" title="Back to Top">🔝</a>
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
// --- 2. Dropdown navigation ---------------------------------------------
|
||||
window.navigateToSection = function (select) {
|
||||
const sectionId = select.value;
|
||||
if (sectionId) {
|
||||
const section = document.getElementById(sectionId);
|
||||
if (section) {
|
||||
section.scrollIntoView({ behavior: 'smooth' });
|
||||
}
|
||||
}
|
||||
};</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user