zoukankan      html  css  js  c++  java
  • JavaScript+CSS实现纵向滑动门菜单 初学者学习的好资料

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>JavaScript+CSS实现纵向滑动门菜单-LIEHUO.NET</title>
    <style type="text/css">
    body{font-size:9pt;}
    a:link,a:visited,a:hover,a:active{text-decoration:none;color:#256bae;}
    .warp{586px; height:269px !important; height:271px;border:1px solid #dbdcd7;}
    .main{562px; height:269px !important;height:271px;padding:5px; margin-left:15px;overflow:hidden;float:left;}
    .news{position:absolute;z-index:4;24px; float: left; margin-left:565px !important; margin-left:582px;}
    .news ul{list-style:none;padding:0;margin:0;}
    .news ul li{ height:84px !important;height:88px;20px;margin-bottom:0px;padding-top:5px;text-align:center;cursor:pointer;;vertical-align:middle; background-color:#e5e5e5; border-left:#dbdcd7 solid 1px;border-bottom:#dbdcd7 solid 1px;}
    .news ul li.on{background-color:#ffffff; border:#FFFFFF 0px}
    .news span{display:block; margin-top:9px !important; margin-top:20px;}
    .dis{display:block;}
    .undis{display:none;}
    </style>
    <script type="text/javascript">
    function g(o){
          return document.getElementById(o);
      }
    function HoverLi(m,n,counter){
         for(var i=1;i<=counter;i++){
               g('tb_'+m+i).className='';
               g('tbc_'+m+i).className='undis';
           }
              g('tbc_'+m+n).className='dis';
              g('tb_'+m+n).className='on';
         }
    </script>
    </head>
    <body>
    <div class="warp">
    <div class="news">
    <ul>
    <li class="on" id="tb_11" onmouseover="HoverLi(1,1,3);"><span>站长资讯</span></li>
    <li class="" id="tb_12" onmouseover="HoverLi(1,2,3);"><span>站长工具</span></li>
    <li class="" id="tb_13" onmouseover="HoverLi(1,3,3);"><span>站长论坛</span></li>
    </ul>
    </div>
    <div class="dis" id="tbc_11">
    <div class="main">烈火是全球中文互联网资讯与教程的提供者,多年来一直坚持为互联网发展提供动力,热情、积极、向上、不断进取是Liehuo.Net所提倡的品格,关注站长,建设互联网!</div>
    </div>
    <div class="undis" id="tbc_12">
    <div class="main">站长工具提供站长查询,是为广大中文建站提供的SEO搜索引擎优化站长工具,同时有IP查询、手机查询等多种实用工具,烈火网关注站长,建设互联网!</div>
    </div>
    <div class="undis" id="tbc_13">
    <div class="main">致力于软件编程与开发,产品有:LieHuoWMS、烈火QQ、烈火系列软件,同时有电脑、手机、建站、数码、娱乐、各类破解软件与注册机等交流,烈火论坛 LieHuoBBS - 烈火软件官方论坛,菜鸟级IT技术交流社区!</div>
    </div>
    </div>
    </body>
    </html><br /><center>烈火网更多教程,请访问:<a href=http://www.veryhuo.com/ target=_blank _fcksavedurl="http://www.veryhuo.com/ target=_blank">http://www.veryhuo.com/</a></center>
    
    文章源自:烈火网,原文:http://www.veryhuo.com/a/view/8947.html
  • 相关阅读:
    python中os模块中文帮助
    TypeError: string indices must be integers, not str
    ValueError: multi-byte encodings are not supported
    Codeforces Round #620 (Div. 2)E(LCA求树上两点最短距离)
    Codeforces Round #620 (Div. 2)D(LIS,构造)
    Codeforces Round #619 (Div. 2)D(模拟)
    Codeforces Round #619 (Div. 2)C(构造,容斥)
    Educational Codeforces Round 82 (Rated for Div. 2)E(DP,序列自动机)
    Educational Codeforces Round 82 (Rated for Div. 2)D(模拟)
    【PAT甲级】1114 Family Property (25分)(并查集)
  • 原文地址:https://www.cnblogs.com/wuhuisheng/p/2653742.html
Copyright © 2011-2022 走看看