zoukankan
html css js c++ java
[Javascript]IFRAME运用(2)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>RetractBar</title> <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <STYLE type="TEXT/CSS"> </STYLE> <script language="javascript"> var currentMoveObj = null; function PageLoad() { //设置左边框架宽度:0.20为百分比 document.getElementById( "frmLeft" ).style.width = document.body.scrollWidth * 0.20; //设置缩进条颜色:#888888 document.getElementById( "frmBar" ).style.backgroundColor = "#888888"; } function switchSysBar() { if (switchPoint.innerText==3) { switchPoint.innerText=4; document.getElementById( "frmLeft" ).style.display = "none"; } else { switchPoint.innerText=3; document.getElementById( "frmLeft" ).style.display = ""; } } function BarMouseOver() { if (switchPoint.innerText==4) { switchPoint.innerText=3; document.getElementById( "frmLeft" ).style.display = ""; } } window.onload = PageLoad; window.onresize = PageLoad; </script> </head> <body topmargin="0" rightmargin="0" bottommargin="0" leftmargin="0"> <TABLE border=0 cellPadding=0 cellSpacing=0 height="100%" width="100%" ID="Table1"> <TR> <!--左框架--> <TD align="center" valign="middle" id="frmTitle"> <div id="frmLeft" style="HEIGHT: 100%"> <IFRAME frameBorder="0" id="Ileft" name="Ileft" src="" style="HEIGHT: 100%; VISIBILITY: inherit; WIDTH: 100%; Z-INDEX: 2"></IFRAME> </div> </TD> <!--缩进条--> <TD> <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%"> <TABLE border="0" cellPadding="0" cellSpacing="0" height="100%" ID="Frame"> <TR> <TD style="HEIGHT: 100%"><SPAN style="COLOR: white; CURSOR: hand; FONT-FAMILY: Webdings; FONT-SIZE: 11px" onclick="switchSysBar()" id="switchPoint" title="点击缩放" >3</SPAN></TD> </TR> </TABLE> </div> </TD> <!--右框架--> <TD width="100%"> <div id="frmRight"> <IFRAME frameBorder="0" id="Iright" name="Iright" scrolling="no" src="about:home" style="HEIGHT: 100%; VISIBILITY: inherit; WIDTH: 100%; Z-INDEX: 1"></IFRAME> </div> </TD> </TR> </TABLE> </body> </html>
查看全文
相关阅读:
金蝶天燕中间件将 web 应用存放于 applications 目录之外进行部署
[Azure] 创建支持Apache,PHP以及MySQL的CentOS Web Virtual Machine Server
[VSTS] 从零开始 Team Foundation Server 2010 安装配置详细图文教程
[免费讲座] 成都软件技术沙龙 开启基于Scrum的敏捷开发全新征程讲座
读[JQuery实现的后台框架(动易+Slashdot Menu)]有感
[TechEd 2010] 回首微软TechEd十年,我们获益良多!
[Windows Phone] 在中文版Visual Studio 2010中开发Windows Phone应用程序
欢迎访问iOS开发者论坛:www.codeios.com!
[Azure] Azure 中国服务使用注意事项及兼容版存储访问工具
[VSTS] 玩转 Visual Studio 2010 自定义代码段特性
原文地址:https://www.cnblogs.com/HD/p/147749.html
最新文章
GVM 21.4.3 Failed to find port_list '33d0cd8257c611e18ed1406186ea4fc5'
Ubuntu 20.04 开启图形界面 关闭图形界面
Centos7设备Openvas(GVM10)
Deepin 20 安装 GVM (openvas)
Linux 压缩与解压缩
GVM 21.4.3 外部访问
Deepin 20 openvaschecksetup 正常结果
Github 慢
github 大文件上传
Kali 2021 gvmchecksetup 正常结果
热门文章
设计模式之中介者模式(Mediator)
STL中的map容器的一点总结
C++中四种类型转换方式
设计模式之桥接模式(Bridge)
海阔天空
设计模式之职责链模式(Chain Of Responsibility)
一个即将毕业的13届毕业生校招有感
二叉树中的那些常见的面试题
C++中的操作符重载
docker 容器运行 squid
Copyright © 2011-2022 走看看