栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > Web开发 > JavaScript

用jQuery实现一些导航条切换,显示隐藏的实例代码

JavaScript 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

用jQuery实现一些导航条切换,显示隐藏的实例代码

代码如下:
复制代码 代码如下:



   
    导航条在项目中的应用
   
  
   
        *{ margin: 0;padding: 0;}
        ul li{ list-style: none;}
        .box{ width: 400px; margin: 100px auto; border: 1px solid #ddd;}
        .tit{ background: #999; height: 30px; color: #fff; font-size: 14px; line-height: 30px; padding-left: 6px; position: relative;}
        .closeBtn{ background: url("Images/a2.gif") no-repeat 0 0; width: 7px; height: 8px; position: absolute; right: 10px; top: 10px; display: block; text-indent: -9999px; cursor: pointer;}
         .closeBtn2{background: url("Images/a1.gif") no-repeat 0 0;}
          .content{padding: 6px;font-size: 12px; overflow: hidden; }
        .content li{ float: left; width: 100px; height: 24px; }
        .content li a{ color: #999;}
        .content li a:hover{ color: red;}
        .clsBot{ display: block; clear: both; background: url("Images/a5.gif") no-repeat right 0; padding-right: 16px; float: right; width: 26px; cursor: pointer; color: blue;}
   


   
       
            图书分类
            关闭
       
       
           


                   
  • 小说 ( 1110 )

  •                
  • 文艺 ( 230 )

  •                
  • 青春 ( 1430 )

  •                
  • 少儿 ( 1560 )

  •                
  • 生活 ( 870 )

  •                
  • 社科 ( 1460 )

  •                
  • 管理 ( 1450 )

  •                
  • 计算机 ( 1780 )

  •                
  • 教育 ( 930 )

  •                
  • 工具书 ( 3450 )

  •                
  • 引进版 ( 980 )

  •                
  • 其它类 ( 3230 )

  •            

            简化
       
   


转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/111170.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号