[ Live Demo ]
I have a navigation menu that displays a certain state when it hangs, and also displays the text in another div.
In case the user does not interact with the menu, the automatic cycle of divs is by itself, and the corresponding hang state is displayed in the navigation menu, as if the user was interacting.
However, since this is cyclic, if the user is pointing to another link in the navigation menu, I need to remove the Class on the previously selected item.
How do I write: "if id currently does not hang id, then removeClass (" hoverBold ") on all other navigation links"
source
share