Cross-page navigation bar options realize corresponding menu highlighting #32659
Unanswered
ZhangChengLin
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The navigation bar currently highlights the menu and displays the corresponding content after actively clicking it, as shown in the current example, but the highlighting of the span page in actual use is done through the backend.
https://getbootstrap.com/docs/5.0/components/scrollspy/#example-in-navbar
https://getbootstrap.com/docs/5.0/components/navs-tabs/#javascript-behavior
Can you add the highlight selection of the navigation bar menu through the front end to the navigation bar component?
For example, add bootstrap exclusive "data-bs-?" attribute to a specific container on the page to highlight and select the navigation bar menu. Or other forms through the front end.
I feel that this function is completely unnecessary for calculation with the back end.
Beta Was this translation helpful? Give feedback.
All reactions