[Javascript]IFRAME運用(2)

來源:互聯網
上載者:User
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><br /><html><br /><head><br /><title>RetractBar</title><br /><meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR"><br /><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><br /><STYLE type="TEXT/CSS"></p><p></STYLE><br /><script language="javascript"></p><p>var currentMoveObj = null;</p><p>function PageLoad()<br />{<br />//設定左邊架構寬度:0.20為百分比<br />document.getElementById( "frmLeft" ).style.width = document.body.scrollWidth * 0.20;<br />//設定縮排條顏色:#888888<br />document.getElementById( "frmBar" ).style.backgroundColor = "#888888";<br />}</p><p>function switchSysBar()<br />{<br />if (switchPoint.innerText==3)<br />{<br />switchPoint.innerText=4;<br />document.getElementById( "frmLeft" ).style.display = "none";<br />}<br />else<br />{<br />switchPoint.innerText=3;<br />document.getElementById( "frmLeft" ).style.display = "";<br />}<br />}</p><p>function BarMouseOver()<br />{<br />if (switchPoint.innerText==4)<br />{<br />switchPoint.innerText=3;<br />document.getElementById( "frmLeft" ).style.display = "";<br />}<br />}</p><p>window.onload = PageLoad;<br />window.onresize = PageLoad;</p><p></script><br /></head><br /><body topmargin="0" rightmargin="0" bottommargin="0" leftmargin="0"><br /><TABLE border=0 cellPadding=0 cellSpacing=0 height="100%" width="100%" ID="Table1"><br /><TR><br /><!--左架構--><br /><TD align="center" valign="middle" id="frmTitle"><br /><div id="frmLeft" style="HEIGHT: 100%"><br /><IFRAME frameBorder="0" id="Ileft" name="Ileft" src="" style="HEIGHT: 100%; VISIBILITY: inherit; WIDTH: 100%; Z-INDEX: 2"></IFRAME><br /></div><br /></TD><br /><!--縮排條--><br /><TD><br /><div id="frmBar" onmouseover="BarMouseOver()" style="FILTER: alpha(opacity=100,finishopacity=0,style=1,startx=0,starty=100,finishx=,finishy=100); WIDTH: 100%; HEIGHT: 100%"><br /><TABLE border="0" cellPadding="0" cellSpacing="0" height="100%" ID="Frame"><br /><TR><br /><TD style="HEIGHT: 100%"><SPAN style="COLOR: white; CURSOR: hand; FONT-FAMILY: Webdings; FONT-SIZE: 11px" onclick="switchSysBar()" id="switchPoint" title="點擊縮放" >3</SPAN></TD><br /></TR><br /></TABLE><br /></div><br /></TD><br /><!--右架構--><br /><TD width="100%"><br /><div id="frmRight"><br /><IFRAME frameBorder="0" id="Iright" name="Iright" scrolling="no" src="about:home" style="HEIGHT: 100%; VISIBILITY: inherit; WIDTH: 100%; Z-INDEX: 1"></IFRAME><br /></div><br /></TD><br /></TR><br /></TABLE><br /></body><br /></html></p><p>
相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.