選項卡二

<html>
<head>
<style type="text/css">
<!--
.tablestyle1 {
 font: normal 12px "宋體", Arial;
 color: #777777;
 text-decoration: none;
 text-align: center;
 vertical-align: middle;
 border-top: 1px solid #E4E4E4;
 border-right: 1px solid #4E4E4E;
 border-bottom: 1px solid #4E4E4E;
 border-left: 1px solid #E4E4E4;
 background: #FDFDFD;
}
.Tdstyle1 {
 background: #FDFDFD;
 border-top: 1px solid #E6E6E6;
 border-right: 1px solid #E6E6E6;
 border-bottom: 1px solid #E6E6E6;
 border-left: 1px solid #E6E6E6;
 cursor: hand;
 text-decoration: none;
}
.Titledivstyle {
 text-align: justify;
 text-justify:Distribute-all-lines;
}
.inf1 {
 color: #EDB905;
}
.inf2 {
 color: #107460;
}
body {
 margin-left: 0px;
 margin-top: 0px;
}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function iniINF(Init)//在網頁初始化時,將各項詳細信息隱藏的過程。
{
 if(Init)
 {
  inf1.style.display='none';
  inf2.style.display="none";
  inf3.style.display="none";
  inf4.style.display="none";
  inf5.style.display="none";
  inf6.style.display="none";
 }
}
function showinf(theObj)//查找並顯示對應詳細信息的過程。
{
 switch(theObj)
 {
  case 'inf1'://當鼠標點擊目標爲“銀行匯款”時的處理過程。
   with(findObj(theObj))
   if(style.display=='none')//檢查當前鼠標點擊的選項的詳細信息是否已處於顯示狀態。若已顯示,則關閉;若未顯示,則彈出。
   {
    style.display='';
    
    inf2.style.display="none";
    inf3.style.display="none";
    inf4.style.display="none";
    inf5.style.display="none";
    inf6.style.display="none";
    Menu1.style.color='#FF0000';
    Menu1.style.background='#E1F8C2';
    Menu2.style.color='';
    Menu2.style.background='';
    Menu3.style.color='';
    Menu3.style.background='';
    Menu4.style.color='';
    Menu4.style.background='';
    Menu5.style.color='';
    Menu5.style.background='';
    Menu6.style.color='';
    Menu6.style.background='';
   }
   else
   {
    style.display='none';
                                                        Menu1.style.color='';
    Menu1.style.background='';    
   }
   break;
  case 'inf2'://當鼠標點擊目標爲“郵局匯款”時的處理過程。
   with(findObj(theObj))
   if(style.display=='none')
   {
    style.display='';
    
    inf1.style.display="none";
    inf3.style.display="none";
    inf4.style.display="none";
    inf5.style.display="none";
    inf6.style.display="none";
    Menu2.style.color='#FF0000';
    Menu2.style.background='#E1F8C2';
    Menu1.style.color='';
    Menu1.style.background='';
    Menu3.style.color='';
    Menu3.style.background='';
    Menu4.style.color='';
    Menu4.style.background='';
    Menu5.style.color='';
    Menu5.style.background='';
    Menu6.style.color='';
    Menu6.style.background='';
   }
   else
   {
    style.display='none';
    
    Menu2.style.color='';
    Menu2.style.background='';
   }
   break;
  case 'inf3'://當鼠標點擊目標爲“網上支付”時的處理過程。
   with(findObj(theObj))
   if(style.display=='none')
   {
    style.display='';
    
    inf2.style.display="none";
    inf1.style.display="none";
    inf4.style.display="none";
    inf5.style.display="none";
    inf6.style.display="none";
    Menu3.style.color='#FF0000';
    Menu3.style.background='#E1F8C2';
    Menu2.style.color='';
    Menu2.style.background='';
    Menu1.style.color='';
    Menu1.style.background='';
    Menu4.style.color='';
    Menu4.style.background='';
    Menu5.style.color='';
    Menu5.style.background='';
    Menu6.style.color='';
    Menu6.style.background='';
   }
   else
   {
    style.display='none';
    
    Menu3.style.color='';
    Menu3.style.background='';
   }
   break;
  case 'inf4'://當鼠標點擊目標爲“電話充值”時的處理過程。
   with(findObj(theObj))
   if(style.display=='none')
   {
    style.display='';
    
    inf2.style.display="none";
    inf3.style.display="none";
    inf1.style.display="none";
    inf5.style.display="none";
    inf6.style.display="none";
    Menu4.style.color='#FF0000';
    Menu4.style.background='#E1F8C2';
    Menu2.style.color='';
    Menu2.style.background='';
    Menu3.style.color='';
    Menu3.style.background='';
    Menu1.style.color='';
    Menu1.style.background='';
    Menu5.style.color='';
    Menu5.style.background='';
    Menu6.style.color='';
    Menu6.style.background='';
   }
   else
   {
    style.display='none';
    
    Menu4.style.color='';
    Menu4.style.background='';
   }
   break;
  case 'inf5'://當鼠標點擊目標爲“手機充值”時的處理過程。
   with(findObj(theObj))
   if(style.display=='none')
   {
    style.display='';
    
    inf2.style.display="none";
    inf3.style.display="none";
    inf4.style.display="none";
    inf1.style.display="none";
    inf6.style.display="none";
    Menu5.style.color='#FF0000';
    Menu5.style.background='#E1F8C2';
    Menu2.style.color='';
    Menu2.style.background='';
    Menu3.style.color='';
    Menu3.style.background='';
    Menu4.style.color='';
    Menu4.style.background='';
    Menu1.style.color='';
    Menu1.style.background='';
    Menu6.style.color='';
    Menu6.style.background='';
   }
   else
   {
    style.display='none';
    
    Menu5.style.color='';
    Menu5.style.background='';
   }
   break;
  case 'inf6'://當鼠標點擊目標爲“U幣卡充值”時的處理過程。
   with(findObj(theObj))
   if(style.display=='none')
   {
    style.display='';
    
    inf2.style.display="none";
    inf3.style.display="none";
    inf4.style.display="none";
    inf5.style.display="none";
    inf1.style.display="none";
    Menu6.style.color='#FF0000';
    Menu6.style.background='#E1F8C2';
    Menu2.style.color='';
    Menu2.style.background='';
    Menu3.style.color='';
    Menu3.style.background='';
    Menu4.style.color='';
    Menu4.style.background='';
    Menu5.style.color='';
    Menu5.style.background='';
    Menu1.style.color='';
    Menu1.style.background='';
   }
   else
   {
    style.display='none';
    
    Menu6.style.color='';
    Menu6.style.background='';
   }
   break;
 }
}
// Example: obj = findObj("image1");
function findObj(theObj, theDoc)//查找對象函數。
{
  var p, i, foundObj;
 
  if(!theDoc) theDoc = document;
  if( (p = theObj.indexOf("?")) > 0 && parent.frames.length)
  {
    theDoc = parent.frames[theObj.substring(p+1)].document;
    theObj = theObj.substring(0,p);
  }
  if(!(foundObj = theDoc[theObj]) && theDoc.all) foundObj = theDoc.all[theObj];
  for (i=0; !foundObj && i < theDoc.forms.length; i++)
    foundObj = theDoc.forms[i][theObj];
  for(i=0; !foundObj && theDoc.layers && i < theDoc.layers.length; i++)
    foundObj = findObj(theObj,theDoc.layers[i].document);
  if(!foundObj && document.getElementById) foundObj = document.getElementById(theObj);
 
  return foundObj;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
//-->
</script>

</head>

<body onLoad="iniINF(true);">
<center><div align="center">
<table width="100%" height="100%"  border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center" valign="middle"><table width="480" border="0" cellpadding="0" cellspacing="0" class="tablestyle1">
      <tr>
        <td><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="Tdstyle1">
          <tr>
            <td id=Menu1 width="80" height="20" align="center" onMouseUp="showinf('inf1')">銀行匯款</td>
            <td id=Menu2 width="80" align="center" onMouseUp="showinf('inf2')">郵局匯款</td>
            <td id=Menu3 width="80" align="center" onMouseUp="showinf('inf3')">網上支付</td>
            <td id=Menu4 width="80" align="center" onMouseUp="showinf('inf4')">電話充值</td>
            <td id=Menu5 width="80" align="center" onMouseUp="showinf('inf5')">手機充值</td>
            <td id=Menu6 width="80" align="center" onMouseUp="showinf('inf6')">U幣卡充值</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="200" valign="top" id="inf1"><table width="90%" height="100%"  border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td height="200" valign="middle"><table width="100%"  border="0" cellpadding="0" cellspacing="0" class="inf1">
              <tr>
                <td height="20"><div align="justify">匯款信息:</div></td>
              </tr>
              <tr>
                <td height="20">&nbsp;</td>
              </tr>
              <tr>
                <td height="20"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="70" class="Titledivstyle">開
                      戶 銀 行</td>
                    <td width="360"><div align="left">:深圳市商業銀行XXX支行</div></td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td height="20"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="70" class="Titledivstyle">帳
                     &nbsp; 戶&nbsp; 名</td>
                    <td><div align="left">:深圳市XXXXXXXXX有限公司</div></td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td height="20"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="70" class="Titledivstyle">帳
                     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 號</td>
                    <td><div align="left">:2326 5665 5669 2233 xxxx
                        xxxx</div></td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td height="20">&nbsp;</td>
              </tr>
              <tr>
                <td height="20"><div align="justify">建議大家在銀行匯款時……</div></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="200" valign="top" id="inf2"><table width="90%" height="100%"  border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td height="200"><table width="100%"  border="0" cellpadding="0" cellspacing="0" class="inf2">
              <tr>
                <td height="20"><div align="justify">匯款信息:</div></td>
              </tr>
              <tr>
                <td height="20">&nbsp;</td>
              </tr>
              <tr>
                <td height="20"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="70" class="Titledivstyle1">通
                        訊 地 址</td>
                      <td width="360"><div align="left">:深圳市……</div></td>
                    </tr>
                </table></td>
              </tr>
              <tr>
                <td height="20"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="70" class="Titledivstyle">收
                       &nbsp; 款&nbsp; 人</td>
                      <td><div align="left">:深圳市XXXXXXXXX有限公司</div></td>
                    </tr>
                </table></td>
              </tr>
              <tr>
                <td height="20"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="70" class="Titledivstyle">郵&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 編 </td>
                      <td><div align="left">:xxxxxx</div></td>
                    </tr>
                </table></td>
              </tr>
              <tr>
                <td height="20">&nbsp;</td>
              </tr>
              <tr>
                <td height="20"><div align="justify">建議大家在郵局匯款時……</div></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="200" valign="top" id="inf3"><table width="90%" height="100%"  border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td height="200" valign="middle">這是<font color="#FD5A02">“網上支付”</font>的信息。</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="200" valign="top" id="inf4"><table width="90%" height="100%"  border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td height="200" valign="middle">這是<font color="#3C8FEC">“電話充值”</font>的信息。</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="200" valign="top" id="inf5"><table width="90%" height="100%"  border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td height="200" valign="middle">這是<font color="#9E3CE8">“手機充值”</font>的信息。</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="200" valign="top" id="inf6"><table width="90%" height="100%"  border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td height="200" valign="middle">這是<font color="#62A70E">“U幣卡充值”</font>的信息。</td>
          </tr>
        </table></td>
      </tr>
    </table>
 </td>
  </tr>
</table>
</div></center>
</body></html> 

發佈了166 篇原創文章 · 獲贊 3 · 訪問量 40萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章