本文实例讲述了javascript实现带箭头标识的多级下拉菜单效果。分享给大家供大家参考。具体如下:
这是一个支持多级显示的js菜单,鼠标移向带有小三角的菜单项,可下拉出二级子菜单项,在该主菜单的上方会显示标记,指引当前的位置,本菜单代码使用了一个js类,可根据代码地址自行下载,这个菜单未在网上测试,用在自己的网站里可能要修改代码。
运行效果截图如下:
在线演示地址如下:
http://demo.jb51.net/js/2015/js-focus-m-select-menu-nav-codes/
具体代码如下:
多级展开的横向菜单who we are  overview mission & goals history management working at tyco press center worldwide    europe  asia  us & canada  mexico  australia  middle east
board of directors    overview  electronics  fire & security  healthcare  plastics & adhesives  engineered producs  tyco worldwide
customers
our commitment  overview people & values governance community environmental
our business  overview electronics fire & security healthcare plastics & adhesives engineered producs tyco worldwide
investors  overview stock quotes
希望本文所述对大家的javascript程序设计有所帮助。
   
 
   