This article is an example of how jquery implements a fading two Drop-down navigation menu. Share to everyone for your reference. Specifically as follows:
This is a jquery based on the implementation of the navigation menu, fade in two-level menu navigation, very often see the effect, Here is the jquery-1.6.2 version of JS, the mouse to move to include the two-level submenu of the main menu, will immediately fade out of the two-level submenu, the mouse in the two-level submenu across, submenu item background will change.
The screenshot of the running effect is as follows:
The online demo address is as follows:
http://demo.jb51.net/js/2015/jquery-in-out-nav-menu-codes/
The specific code is as follows:
<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
">
I hope this article will help you with your jquery programming.