CSS 帶顯示隱藏左部頁面按鈕

來源:互聯網
上載者:User
 1 <SCRIPT>
2 function switchSysBar(){
3 if (switchPoint.innerText==3)
4 {
5 switchPoint.innerText=4
6 document.all("frmTitle").style.display="none"
7 }
8 else
9 {
10 switchPoint.innerText=3
11 document.all("frmTitle").style.display=""
12 }
13 }
14 </SCRIPT>
15 <BODY scroll=no ><table height="100%" cellspacing=0 cellpadding=0 width="100%" border=0>
16 <tr><td height="80" colspan="3"><iframe style="Z-INDEX: 2; VISIBILITY: inherit; WIDTH: 100%; HEIGHT: 80px " name=topfram src="Top.asp" frameborder=0></iframe></td></tr>
17 <tbody>
18 <tr>
19 <td id="frmTitle" valign=center noWrap align=middle><iframe style="Z-INDEX: 2; VISIBILITY: inherit; WIDTH: 205px; HEIGHT: 100%" name=leftfram src="Left.asp" frameborder=0></iframe></td>
20 <td bgcolor=#0095f9>
21 <table height="100%" cellspacing=0 cellpadding=0 border=0>
22 <tbody><tr bgcolor=#5F778B><td style="HEIGHT: 45%"></td></tr>
23 <tr id="lbar" bgcolor=#BCCAD7>
24 <td style="HEIGHT: 48" onClick=switchSysBar() onMouseOver="lbar.style.background='#F2F2F2';lbar.style.color='#000000'" onMouseOut="lbar.style.background='#BCCAD7';lbar.style.color='#FFFFFF'"><font style="FONT-SIZE: 8px; CURSOR: hand; FONT-FAMILY: Webdings"><span id=switchPoint>3</span></font></td>
25 </tr><tr bgcolor=#5F778B><td style="HEIGHT: 45%"></td></tr>
26 </tbody>
27 </table>
28 </td>
29 <td style="WIDTH: 100%"><iframe id=main style="Z-INDEX: 1; VISIBILITY: inherit; WIDTH: 100%; HEIGHT: 100%" name=mainfram src="Main.asp" frameborder=0 scrolling=yes></iframe></td>
30 </tr>
31 </tbody>
32 </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.