Home >Web Front-end >JS Tutorial >Skillfully use jquery to solve problems related to drop-down menus being blocked by Div_jquery
Use jquery's hover event to set the div covering the drop-down menu to a negative value when the mouse moves to the menu, and return to a positive value when the mouse leaves.
The code is as follows: