<output id="qn6qe"></output>

    1. <output id="qn6qe"><tt id="qn6qe"></tt></output>
    2. <strike id="qn6qe"></strike>

      亚洲 日本 欧洲 欧美 视频,日韩中文字幕有码av,一本一道av中文字幕无码,国产线播放免费人成视频播放,人妻少妇偷人无码视频,日夜啪啪一区二区三区,国产尤物精品自在拍视频首页,久热这里只有精品12

      XuGang

      記錄一個程序員的成長

       

      兩個橫向菜單欄示例

       

      菜單欄示例一:
      菜單源代碼
      <!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>
          <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
          <script type="text/javascript">
              $(
      function() {
                  $(
      "#container .menu1 ul li").click(function() {
                      
      var index = $("#container .menu1 ul li").index(this);
                      $(
      this).addClass("bg").siblings().removeClass();
                      $(
      "#container .menu2 ul li ul").eq(index).show().parent().siblings("li").children("ul").hide();
                  })
              })
          
      </script>

          <style type="text/css">
              body
              
      {
                  margin
      : 0;
                  padding
      : 0;
                  font-family
      : "宋體";
                  font-size
      : 9pt;
                  color
      : #FFFFFF;
                  font-weight
      : bold;
              
      }
              #container
              
      {
                  width
      : 100%;  /* 1200px; */
                  height
      : auto;
                  margin
      : 0 auto;
                  
      /* border: 1px #1025c0 solid; */

                  
      /* xugang  2011.10.19 */
                  
      /* margin: 0; */
                  padding
      : 0px;
                  font-family
      : "宋體";
                  font-size
      : 9pt;
                  color
      : #FFFFFF;
                  font-weight
      : bold;
              
      }
              #container .menu1
              
      {
                  width
      : 684px;
                  height
      : 34px;
                  border
      : none;
                  background
      : url(sadasd_09.png) no-repeat;
                  
      /*background: url(http://www.webdm.cn/images/20101213/2/menu1.gif) no-repeat;
                  background-color: #1B5582;
      */
              
      }
              #container .menu1 ul
              
      {
                  margin
      : 0;
                  
      /* padding: 0; */
                  padding-left
      : 0px;
                  padding-right
      : 0px;
                  padding-bottom
      : 0px;
                  padding-top
      : 4px; 
                  position
      : relative;
                  
                  margin-left
      : 4px;  /* xugang 一級菜 單選擇項樣式 */
              
      }
              #container .menu1 ul li
              
      { /*border: 1px #1025c0 solid;  測試 */
                  float
      : left;   
                  height
      : 25px;
                  width
      : 110px;
                  line-height
      : 25px;
                  list-style
      : none;
                  text-align
      : center;
                  cursor
      : pointer;
                  
      /* color: #fffff; */
                  padding-left
      : 2px;  /* xugang 一級菜單選擇項 */
                  
      /* margin-left: 1px;    xugang 一級菜單選擇項  容易使一級菜單動態(tài)向右移動 */
              
      }
              #container .menu2
              
      {
                  width
      : 100%;  /* 1000px; */
                  height
      : 25px;
                  border
      : none;
                  color
      : #000000;
                  font-weight
      : normal;
                  background-color
      : #C9DEFA;   /* #DFF0FF 子菜單顏色 */
                  padding-left
      : 0px;  /* xugang */
                  padding-top
      : 0px;  /* xugang */
                  margin-left
      : 0px;  /* xugang */
              
      }
              #container .menu2 ul
              
      {
                  margin
      : 0;  /* xugang 原始  margin: 0; */
                  padding
      : 0;
              
      }
              #container .menu2 ul li
              
      {
                  height
      : 30px;
                  line-height
      : 30px;
                  list-style
      : none;
                  float
      : left;
                  cursor
      : pointer;
              
      }
              #container .menu2 ul li ul li
              
      {   /* border: 1px #1025c0 solid;  測試 */
                  float
      : left;
                  padding-top
      : 0px;
                  padding-bottom
      : 0px;
                  padding-left
      : 40px;
                  padding-right
      : 30px; /* xugang */
                  height
      : 25px;
                  line-height
      : 25px;
                  list-style
      : none;
              
      }
              .bg
              
      {
                  font-size
      : 12pt;
                  
      /* font-weight: normal;*/
                  
      /* text-decoration: underline;  blink */
                  background-color
      : #1B5582; /* #1B5582 一級菜單選擇項 背景 */
              
      }
              .hide
              
      {
                  display
      : none;
              
      }
              .menu_a1
      { display: block; color:#ffffff; text-decoration:none !important; }
              .menu_a2
      { display: block; color:#000000; text-decoration:none !important; }
          
      </style>
      </head>
      <body>
          <div id="container">
              <div class="menu1">
                  <ul>
                      <li class="bg"><href="#" class="menu_a1">第一欄</a></li>
                      <li><href="#" class="menu_a1">第二欄</a></li>
                      <li><href="#" class="menu_a1">第三欄</a></li>
                      <li><href="#" class="menu_a1">第四欄</a></li>
                      <li><href="#" class="menu_a1">第五欄</a></li>
                      <li><href="#" class="menu_a1">第六欄</a></li>
                  </ul>
              </div>
              <div class="menu2">
                  <ul>
                      <li>
                          <ul>
                              <li><href="#" class="menu_a2">第一欄</a></li>
                              <li><href="#" class="menu_a2">第一欄</a></li>
                              <li><href="#" class="menu_a2">第一欄</a></li>
                          </ul>
                      </li>
                      <li>
                          <ul class="hide">
                              <li>第二欄</li><li>第二欄</li><li>第二欄</li>
                          </ul>
                      </li>
                      <li>
                          <ul class="hide">
                              <li>第三欄</li><li>第三欄</li><li>第三欄</li>
                          </ul>
                      </li>
                      <li>
                          <ul class="hide">
                              <li>第四欄</li><li>第四欄</li><li>第四欄</li>
                          </ul>
                      </li>
                      <li>
                          <ul class="hide">
                              <li>第五欄</li><li>第五欄</li><li>第五欄</li>
                          </ul>
                      </li>
                       <li>
                          <ul class="hide">
                              <li>第六欄</li><li>第六欄</li><li>第六欄</li>
                          </ul>
                      </li>
                  </ul>
              </div>
          </div>
          <div style="width:400px; height:300px; background-color:red;"></div>
          <br />

      </body>
      </html>


      [Ctrl+A 全部選擇 提示:你可先修改部分代碼,再按運行]

       

      菜單欄示例二:
      菜單源代碼
      <html>
      <head profile="http://gmpg.org/xfn/11">
      <title>黃頁地區(qū)列表</title>
      <style type="text/css">
      body 
      {background:#ccc;color:#000;font: normal normal normal 12px/180% Tahoma, Arial, Helvetica, sans-serif, "宋體";text-align:center;}
      .nav 
      {position: relative;background: url(nav_bg.png) no-repeat 0 -36px;width:960px;height:36px;}
      .navinner 
      {background: url(nav_bg.png) no-repeat 100% -72px;}
      .navlist 
      {height: 36px;line-height: 36px;overflow: hidden;margin: 0 10px;background: url(nav_bg.png) repeat-x 0 0;}
      .nav li 
      {float: left;display: inline;margin: 0 0 0 -2px;padding: 0 4px 0 6px;background: url(nav_bg.png) no-repeat 0 -108px;}
      .nav a 
      {display: block;width: 102px;text-align: center;font-size: 120%; text-decoration:none;}
      .nav a:link, .nav a:visited 
      {color: #fff;text-decoration:none;}
      .nav a:hover, .nav a:active 
      {color: #fff;font-weight: bold;background: url(nav_bg.png) no-repeat 50% -144px;text-decoration:none;}
      </style>
      </head>
      <body>
      <div class="nav">
        <div class="navinner">
          <ul class="navlist">
            <li><href="http://www.qincai.net/" title="首頁">首頁</a></li>
            <li><href="http://www.qincai.net/cat.html" title="分類列表" rel="nofollow">分類列表</a></li>
            <li><href="http://www.qincai.net/loc.html" title="地區(qū)列表" rel="nofollow">地區(qū)列表</a></li>
            <li><href="http://www.qincai.net/trade.html" title="供求商機" rel="nofollow">供求商機</a></li>
            <li><href="http://www.qincai.net/news.html" title="行業(yè)新聞" rel="nofollow">行業(yè)新聞</a></li>
            <li><href="http://www.qincai.net/submit.html" title="提交企業(yè)" rel="nofollow">提交企業(yè)</a></li>
            <li><href="http://fz.qincai.net/join.html" title="發(fā)布商機" rel="nofollow">發(fā)布商機</a></li>
            <li><href="http://www.qincai.net/find.html" title="高級搜索" rel="nofollow">高級搜索</a></li>
          </ul>
        </div>
      </div>
      </body>
      </html>


      [Ctrl+A 全部選擇 提示:你可先修改部分代碼,再按運行]

       

      Demo下載

       

      posted on 2011-11-15 22:05  鋼鋼  閱讀(3225)  評論(0)    收藏  舉報

      導航

      主站蜘蛛池模板: 翁源县| 亚洲色成人一区二区三区| 免费可以在线看a∨网站| 国产精品人成视频免费国产| 日韩精品二区三区四区| 欧美视频免费一区二区三区| 天堂V亚洲国产V第一次| 欧美成人aaa片一区国产精品| 国产精成人品日日拍夜夜免费| 亚洲人妻系列中文字幕| 久9re热视频这里只有精品免费| 成人免费乱码大片a毛片| 国产成人欧美一区二区三区 | 看亚洲黄色不在线网占| 在线观看中文字幕国产码| 亚洲国产午夜精品福利| 色成人精品免费视频| 和平县| 亚洲一线二线三线品牌精华液久久久 | 亚洲av区一区二区三区| 全球成人中文在线| 国产精品久久久久影院色| 亚洲a∨无码无在线观看| 精品一区二区三区国产馆| 老司机午夜精品视频资源| 国产在线观看播放av| 国产成人a∨激情视频厨房| 亚洲国产午夜精品福利| 亚洲国产成人不卡高清麻豆| 亚洲av无码一区二区三区网站| av色蜜桃一区二区三区| 无码人妻精品一区二区三区下载 | 无码抽搐高潮喷水流白浆| 日本一道一区二区视频| 一本色道久久加勒比综合| 有码中文字幕一区三区| 天堂资源国产老熟女在线| 99久久国产露脸国语对白| 久播影院无码中文字幕| 富裕县| 成人国产亚洲精品天堂av|