This article illustrates the effect of a jquery implementation Click to mark the current menu position (background highlighting menu). Share to everyone for your reference. Specifically as follows:
This is a jquery menu effect, click on the background highlighted, personalized menu effects. See more on the Internet menu, but like such a simple way to achieve is rare, the overall simplicity of the menu, click on the Navigation bar of any menu items, the menu item's background into black, and the mouse removed, still fixed to keep black, remember the location of the menu.
The effect is as shown in the following illustration:
The online demo address is as follows:
http://demo.jb51.net/js/2015/jquery-menu-set-focus-style-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
">