Tab選項卡(current)效果 js

來源:互聯網
上載者:User
提示:您可以先修改部分代碼再運行

<style type="text/css">body, td { font-size:12px; color:#000000; font-family: Arial, 宋體; line-height:140% }#table td a { display:block; color:#CB6736; float:left; color:#874b46; text-decoration:none; height:24px; line-height:24px; width:104px; text-align:center; font-weight:bold; }#table td a:hover, #table .current{ background:url("http://embed.eccn.com/img/1.gif") no-repeat top right; margin-left:-1px !important; margin-left:0px; color:#1F3A89; }</style><script language="javascript" type="text/javascript">//線上座談function change_option7(number,index){for (var i = 1; i <= number; i++) { document.getElementById('content7' + i).style.display = 'none'; document.getElementById('content7' + index).style.display = 'block'; }}</script><table width="352" cellspacing="0" cellpadding="0" align="right" > <tr> <td height="24" ><table width="100%" cellspacing="0" cellpadding="0" border="0" id="table"> <tr> <td width="104" height="24" align="center" class="current">線上座談</td> <td width="104" align="center">精華點播</td> <td width="104" align="center">通訊技術座談</td> <td width="38" align="center"/> <td width="2" align="right"></td> </tr> </table> <table width="96%" cellspacing="0" cellpadding="0" border="0" align="center" id="content71"> <tr> <td width="4%">1</td> </tr> </table> <table width="96%" cellspacing="0" cellpadding="0" border="0" align="center" id="content72"> <tr> <td align="right" colspan="2">2</td> </tr> </table> <table width="96%" cellspacing="0" cellpadding="0" border="0" align="center" id="content73"> <tr> <td align="right" colspan="2">3</td> </tr> </table></td> </tr></table>
提示:您可以先修改部分代碼再運行

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.