简体   繁体   中英

How to only display one flyout at a time with jQuery?

Can someone tell me how to update my code so whenever I hover over another LI a flyout that was displayed for a different main nav link will disappear right away and the other will appear? (I only want one flyout to appear at any given time)

Here's a working example on jsfiddle:

http://jsfiddle.net/zoolander/YAfDL/

http://jsfiddle.net/YAfDL/10/

Added a "global" slide-up event on the hover action... Works?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM