網(LieHuo.Net)教程 Iframe是我們經常能夠用到的Html語法,尤其是在一些網站的后臺,今天我們就來說一下如何利用js和iframe制作后臺的框架收縮效果,為了方便大家學習,Liehuo.net的小編已經將注釋添加在代碼內部,下面請看代碼:
<html><meta http-equiv=Content-Type content=text/html;charset=gb2312><title>mobaihuo網站后臺免費提供_網_www.vxbq.cn</title><style type="text/css">.navPoint {COLOR: white; CURSOR: hand; FONT-FAMILY: Webdings; FONT-SIZE: 9pt}.a2{BACKGROUND-COLOR: A4B6D7;}</style><body style="MARGIN: 0px" scroll=no onResize=javascript:parent.carnoc.location.reload()><TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width="100%" border=0><TR><TD align=center width="100%" height=25 bgcolor="#B1C1E0" style="COLOR: #330099; font: 10.5pt"><B>網 www.vxbq.cn</B></TD></TR></TABLE><table border="0" cellPadding="0" cellSpacing="0" height="100%" width="100%"> <tr> <td width="30" align="middle" vAlign="center" noWrap id="frmTitle"> <iframe frameBorder="0" id="carnoc" name="carnoc" scrolling=auto src="" style="HEIGHT: 100%; VISIBILITY: inherit; WIDTH: 180px; Z-INDEX: 2"> </iframe> </td> <td width="46" bgcolor="#708EC7" style="WIDTH: 9pt"> <table width="9" height="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="200" style="HEIGHT: 100%" onClick="switchSysBar()"> <font style="FONT-SIZE: 9pt; CURSOR: default; COLOR: #ffffff"> <span class="navPoint" id="switchPoint" title="關閉/打開左欄">3</span>屏幕切換</font></td> </tr> </table></td> <td width="630" style="WIDTH: 100%"></td> </tr></table></html>提示:可修改后代碼再運行!
當然,實現此類功能的方法還有很多,網會慢慢的整理出來給大家,以方便各位站長學習!
上一篇 pb9實現在兩個工作簿之間進行工作表復制
下一篇 Access使用宏控制程序
程序員人生,我編程,我富裕,記住wfuyu網,php教程,php學習,php手冊,CMS模版制作
聲明:本站大部分內容是作者原創,少部分收集于互聯網供大家一起學習,原版權很多不明,如有侵權請聯系本站,謝謝!
粵ICP備14040726號-1?? 2015-2020 程序員人生 版權所有