xhchc

          危波帆墻,笑談只在桃花上;與誰(shuí)共尚,風(fēng)吹萬(wàn)里浪; 相依相偎,不做黃泉想;莫惆悵,碧波潮生,一蕭自狂放……

           

          [請(qǐng)教]網(wǎng)頁(yè)中上下分欄(轉(zhuǎn))

          <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
          <base >
          <html>
          <head>
          <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
          <title>無(wú)標(biāo)題文檔</title>
          <script language="JavaScript">
          var txtstr_1="&nbsp;&nbsp;QQ:28983016  Email:<a href=mailto:451200@126.com>451200@126.com</a>";
          var txtstr_2="&nbsp;&nbsp;需要軟件的朋友可以與我聯(lián)系。";
          var txtstr_3="&nbsp;&nbsp;論壇現(xiàn)在暫時(shí)關(guān)閉,請(qǐng)朋友們?cè)赒Q上聯(lián)系."
          var txtstr_4="&nbsp;&nbsp;孤獨(dú)的時(shí)候便走向自然;<br>寂寞的時(shí)候便走向音樂(lè);<br>失敗的時(shí)候便走向憧憬;<br>委屈的時(shí)候便走向創(chuàng)造和友情。<br>"
          function changediv(n){
          for(i=1;i<=5;i++){
          eval("document.getElementById('s'+i+'').className='under'+n+''");
          //此次循環(huán)的作用是分別將s開(kāi)頭的ID處的下邊界設(shè)置為相應(yīng)的顏色
          }
          for(i=1;i<=4;i++){
          eval("document.getElementById('c"+i+"').className='a"+n+"'");
          //此次循環(huán)初始化所有的選項(xiàng)卡按鈕的背景圖片為cb0.gif,銀灰色
          }
          eval("document.getElementById('c"+n+"').className='t"+n+"'");
          //然后設(shè)置鼠標(biāo)移動(dòng)到的相應(yīng)位置的背景圖片為相應(yīng)的圖片,修改對(duì)應(yīng)的樣式表。
          eval("document.getElementById('bodyt').className='body"+n+"'");
          //修改選項(xiàng)卡下半部的樣式,使其的色彩與上半部的圖片相適應(yīng)。
          bodytxt=eval('txtstr_'+n);
          if(bodytxt==""){
          alert("數(shù)據(jù)正在下載,請(qǐng)稍候!");}
          else
          {
          document.getElementById("txt1").innerHTML=bodytxt;
          //設(shè)置選項(xiàng)卡主體部分相應(yīng)的文字。
          }
          }
          </script>
          <style type="text/css">
          <!--
          .t1 {
                  background-image: url(cb1.gif);
                  border-bottom-width: medium;
                  border-bottom-style: none;
                  border-right-width: 1px;
                  border-right-style: solid;
                  border-right-color: #88c027;
          }
          .t2 {
                  background-image: url(cb2.gif);
                  padding-top: 3px;
                  border-right-width: 1px;
                  border-right-style: solid;
                  border-right-color: #eac751;
          }
          .t3 {
                  background-image: url(cb3.gif);
                  padding-top: 3px;
                  border-right-width: 1px;
                  border-right-style: solid;
                  border-right-color: #ee6f69;
          }
          .t4 {
                  background-image: url(cb4.gif);
                  padding-top: 3px;
                  border-right-width: 1px;
                  border-right-style: solid;
                  border-right-color: #7eaffb;
          }
          .t0 {
                  background-image: url(cb0.gif);
                  padding-top: 3px;
                  border-bottom-width: 0px;
                  border-bottom-style: none;
                  border-right-width: 1px;
                  border-right-style: solid;
                  border-right-color: #AEABA9;
          }
          -->
          </style>
          <style type="text/css">
          <!--
          td {
                  font-size: 12px;
                  line-height: 16px;
          }
          .d1 {
                  padding-top: 3px;
                  border-bottom-width: medium;
                  border-bottom-style: none;
          }
          .d2{
                  padding-top: 3px;
                  border-bottom-width: medium;
                  border-bottom-style: none;
          }
          .d3{
                  padding-top: 3px;
                  border-bottom-width: medium;
                  border-bottom-style: none;
          }
          .d4{
                  padding-top: 3px;
                  border-bottom-width: medium;
                  border-bottom-style: none;
          }
          .under1 {
                  border-bottom-width: 1px;
                  border-bottom-style: solid;
                  border-bottom-color: #88c027;
          }
          .under2 {
                  border-bottom-width: 1px;
                  border-bottom-style: solid;
                  border-bottom-color: #eac751;
          }
          .under3 {
                  border-bottom-width: 1px;
                  border-bottom-style: solid;
                  border-bottom-color: #ee6f69;
          }
          .under4 {
                  border-bottom-width: 1px;
                  border-bottom-style: solid;
                  border-bottom-color: #7eaffb;
          }
          .body1 {
                  background-color: #d6efb5;
                  border-top: 0px none;
                  border-right: 1px solid #88c027;
                  border-bottom: 1px solid #88c027;
                  border-left: 1px solid #88c027;
          }
          .body2 {
                  background-color:#fff7be;
                  border-top: 0px none #eac751;
                  border-right: 1px solid #eac751;
                  border-bottom: 1px solid #eac751;
                  border-left: 1px solid #eac751;
          }
          .body3 {
                  background-color: #ffe5e3;
                  border-top: 0px none;
                  border-right: 1px solid #ee6f69;
                  border-bottom: 1px solid #ee6f69;
                  border-left: 1px solid #ee6f69;
          }
          .body4 {
                  background-color: #d4eaff;
                  border-top: 0px none;
                  border-right: 1px solid #7eaffb;
                  border-bottom: 1px solid #7eaffb;
                  border-left: 1px solid #7eaffb;
          }
          .firstunderline {
                  border-bottom-width: medium;
                  border-bottom-style: none;
          }
          .bodytop {
                  border-top-width: medium;
                  border-top-style: none;
          }
          -->
          </style>
          <style type="text/css">
          <!--
          .a1 {
                  background-image: url(cb0.gif);
                  border-bottom-width: 1px;
                  border-bottom-style: solid;
                  border-bottom-color: #88c027;
                  border-right-width: 1px;
                  border-right-style: solid;
                  border-right-color: #AEABA9;
          }
          .a2 {
                  background-image: url(cb0.gif);
                  border-bottom-width: 1px;
                  border-bottom-style: solid;
                  border-bottom-color: #eac751;
                  border-right-width: 1px;
                  border-right-style: solid;
                  border-right-color: #AEABA9;
          }
          .a3 {
                  border-bottom-width: 1px;
                  border-bottom-style: solid;
                  border-bottom-color: #ee6f69;
                  background-image: url(cb0.gif);
                  border-right-width: 1px;
                  border-right-style: solid;
                  border-right-color: #AEABA9;
          }
          .a4 {
                  background-image: url(cb0.gif);
                  border-bottom-width: 1px;
                  border-bottom-style: solid;
                  border-bottom-color: #7eaffb;
                  border-right-width: 1px;
                  border-right-style: solid;
                  border-right-color: #AEABA9;
          }
          .temp {
                  background-image: url(cb0.gif);
                  border-bottom-width: 1px;
                  border-bottom-style: solid;
                  border-bottom-color: #88c027;
                  border-right-width: 1px;
                  border-right-style: solid;
                  border-right-color: #AEABA9;
          }
          -->
          </style>
          </head>

          <body>
          <table width="294" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr valign="bottom">
              <td id="s1" width="8" height="19" class="under1"><br> </td>
              <td id="c1" width="60" align="center" class="t1" onMouseOver="changediv(1)">我佛山人</td>
              <td id="s2" width="8" class="under1"><br> </td>
              <td id="c2" width="60" align="center" class="temp" onMouseOver="changediv(2)">紅色黑客</td>
              <td id="s3" width="8" class="under1"><br> </td>
              <td id="c3" width="60" align="center" class="temp" onMouseOver="changediv(3)">藍(lán)色月光</td>
              <td id="s4" width="8" class="under1"><br> </td>
              <td id="c4"  width="60" align="center" class="temp" onMouseOver="changediv(4)"">孤零飄客</td>
              <td id="s5" width="49" class="under1"><br>
          </td>
            </tr>
          </table>
          <table width="294" height="94" border="0" align="center" cellpadding="0" cellspacing="0" class="body1" id="bodyt"><tbody>
            <tr>
              <td valign="top"><br><div id="txt1">
                  <script language="javascript">
                  document.write(txtstr_1);
                  </script>
                  </div>&nbsp;</td>
                 
            </tr>
            </tbody>
          </table>
          </body>
          </html>

          posted on 2008-08-20 11:52 chu 閱讀(326) 評(píng)論(0)  編輯  收藏


          只有注冊(cè)用戶(hù)登錄后才能發(fā)表評(píng)論。


          網(wǎng)站導(dǎo)航:
           

          導(dǎo)航

          統(tǒng)計(jì)

          常用鏈接

          留言簿(2)

          隨筆檔案

          我的鏈接

          搜索

          最新評(píng)論

          閱讀排行榜

          評(píng)論排行榜

          主站蜘蛛池模板: 贡嘎县| 水城县| 鄂州市| 施甸县| 马山县| 白沙| 黔西| 濉溪县| 平阴县| 聊城市| 道孚县| 三台县| 茂名市| 南阳市| 多伦县| 皮山县| 仪陇县| 临海市| 大同县| 临桂县| 广平县| 安仁县| 图们市| 柯坪县| 林甸县| 峨眉山市| 浦城县| 安龙县| 桦南县| 新津县| 扎赉特旗| 郯城县| 黎平县| 岗巴县| 榆中县| 灵武市| 葵青区| 磴口县| 汾阳市| 台南县| 佛坪县|