瞄點

          我所欲也,己所求也

          BlogJava 首頁 新隨筆 聯系 聚合 管理
            1 Posts :: 1 Stories :: 0 Comments :: 0 Trackbacks

          2007年12月18日 #


          再來一個雅虎標簽選項卡

          演示效果如下:

          演示地址:http://www.happyshow.org/sample/20060926/yahootag.html


          <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
          <html>
          <head>
          <meta http-equiv="Content-Type" c />
          <title>yahoo 標簽</title>
          <style type="text/css">
          .tag_box { width:400px; height:126px; border:1px solid #B0BEC7; font:12px Arial, Helvetica, sans-serif; margin:50px; overflow:hidden}
          .tag_box ul.menulist { width:402px; height:20px; overflow:hidden; margin:0}
          .tag_box ul.menulist li { float:left; width:80px; text-align:center; height:19px; line-height:19px; background:url(tag_bg1.gif) repeat-x; position:relative; list-style-type:none}
          .tag_box ul.menulist li a { color:#18397C; text-decoration:none; display:block; width:80px; background:url(tag_pipe.gif) no-repeat right 1px; border-bottom:1px solid #93A6B4;}
          .tag_box ul.menulist li a:hover { text-decoration:underline;}
          .tag_box ul.menulist li a.curMenu { background:url(tag_bg2.gif) repeat-x; border:1px solid #91A7B4; border-bottom:none; width:81px; position:absolute; color:#c63; font-weight:bold; left:-1px;top:-1px; height:21px; z-index:100}
          .tag_box a.nonebg{ background:none;}
          .tag_content { padding:6px; clear:both}
          .tag_content img.bigConImg {border:1px solid #788a98; display:block; float:left}
          .tag_content h5 {padding:2px 0px; margin:3px 6px; float:left; text-align:center; width:250px; background-color:#f7f7f7}
          .tag_content a {text-decoration:none; color:#16387c}
          .tag_content a:hover {text-decoration:underline;}
          .tag_content p { margin:0; padding:2px 6px; float:left; line-height:18px}
          .tag_content ul { margin:0px 3px 0px 3px; padding:0; float:left;}
          .tag_content li { margin-left:20px; margin-bottom:3px}
          </style>
          <script type="text/javascript" src="http://www.happyshow.org/sample/20060926/switchTag.js"></script>
          </head>
          <body >
          <div class="tag_box" id="tag_menu">
          <ul class="menulist" id="menulist">
          <li><a href="#"   class="curMenu">Home</a></li>
          <li><a href="#"  >Software</a></li>
          <li><a href="#"  >roduct</a></li>
          <li><a href="#"  >AboutUs</a></li>
          <li><a href="#"  >ContactUs</a></li>
          </ul>
          <!--
          -->
          <div id="tag_content_1" class="tag_content">
            <img src="http://www.happyshow.org/sample/20060926/images/tag_1_img.jpg" class="bigConImg">
            <h5><a href="#">Supercars for the super-richHome</a></h5>
            <p>For those who can drop six figures on a car, there's a fresh crop of shiny new 2007 models. &raquo; <a href="#">More</a></p>
          </div>
          <div id="tag_content_2" class="tag_content">
            <img src="http://www.happyshow.org/sample/20060926/images/tag_2_img.jpg" class="bigConImg">
            <h5><a href="#">Time and again Software</a></h5>
            <ul>
             <li><a href="#">Negroponte says U.S. not at higher risk</a></li>
             <li><a href="#">U.S. to relax ban of liquids on planes</a></li>
             <li><a href="#">U.S. pursues closer ties with Kazakhstan</a></li>
            
            </ul>
          </div>
          <div id="tag_content_3" class="tag_content">
            <img src="http://www.happyshow.org/sample/20060926/images/tag_3_img.jpg" class="bigConImg">
            <h5><a href="#">Saints' storybook return Product</a></h5>
            <p>In front of a sellout Superdome crowd, New Orleans rides the emotional wave to victory over Atlanta. &raquo; <a href="#">More</a></p>
          </div>
          <div id="tag_content_4" class="tag_content">
            <img src="http://www.happyshow.org/sample/20060926/images/tag_4_img.jpg" class="bigConImg">
            <h5><a href="#">Fall foliage alternatives AboutUs</a></h5>
            <p>Dieting with a partner can be motivating, but presents unexpected challenges as well. &raquo; <a href="#">More</a></p>
          </div>
          <div id="tag_content_5" class="tag_content">
            <img src="http://www.happyshow.org/sample/20060926/images/tag_5_img.jpg" class="bigConImg">
            <h5><a href="#">10 ways to earn more pay ContactUs</a></h5>
            <p>Why settle for your current salary and benefits when you can negotiate for more? &raquo; <a href="#">More</a></p>
          </div>   
          </div>
          修改:
          <ul style="font:11px Tahoma">
          <li>每隔一段時間自動循環切換Tag (修改于 2006-10-10)</li>
          </ul>
          <div style="font:12px '宋體'; margin-top:50px">Writen By <a target="_blank" >快樂笛子</a></div>
          </body>
          </html>

           

          posted @ 2007-12-18 11:47 曹光亮 閱讀(1145) | 評論 (0)編輯 收藏

          2007年12月11日 #

               摘要:   閱讀全文
          posted @ 2007-12-11 09:23 曹光亮 閱讀(736) | 評論 (0)編輯 收藏

          僅列出標題  
          主站蜘蛛池模板: 岳普湖县| 余姚市| 澄迈县| 宾川县| 巴林左旗| 柳林县| 镇远县| 本溪市| 永安市| 西华县| 山东省| 诸暨市| 如东县| 鹿泉市| 班玛县| 广东省| 马鞍山市| 靖宇县| 弥渡县| 东明县| 孝义市| 双柏县| 长丰县| 武山县| 松江区| 深圳市| 黔东| 通化市| 大邑县| 阿克苏市| 松滋市| 荥经县| 布尔津县| 清徐县| 孝昌县| 谷城县| 莱西市| 丹阳市| 彰化县| 都安| 嵩明县|