zoukankan      html  css  js  c++  java
  • 多级联动导航栏(top导航)

    http://www.dynamicdrive.com/style/csslibrary/item/jquery_multi_level_css_menu_2/

    This is a multi-level horizontal CSS menu created using a regular nested HTML list, then turned into a fully functional drop down menu using CSS and a touch of jQuery. The sub menus slide in and out into view, which also automatically reposition themselves horizontally if too close to the window's right edge.

    Demo:

    http://www.dynamicdrive.com/style/csslibrary/item/jquery_multi_level_css_menu_2/

    Important: Make sure your page contains a valid doctype for this menu to render properly.

         HTML 5 advocates the use of the very simple doctype:<!DOCTYPE HTML>

    The external files: The menu requires the following support files, which you should upload by default all to the same directory as your page itself:

    If you wish to upload the above files to a different directory, be sure to edit "jqueryslidemenu.js" to update the URLs to the two arrow images used.

    The CSS/ JavaScript: The below code should be added to the HEAD section of your page:

     

    The HTML:

     
  • 相关阅读:
    ACM进阶
    hdu 2018 母牛的故事
    hdu 2084 数塔
    动态规划算法
    hdu 1003 Max sum
    hihocoder 1037 数字三角形
    UDP和TCP的区别(转)
    JS简单的图片左右滚动
    C# MD5加密的方法+一般处理程序使用Session+后台Json序列化
    CSS DIV 独占一行,清除左右两边的浮动
  • 原文地址:https://www.cnblogs.com/mmcmmc/p/3883556.html
Copyright © 2011-2022 走看看