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>
查看全文
相关阅读:
Goland在go mod vendor模式下无法识别某些库
国际教育游戏实证研究综述:2008年-2012年
ES6之用let,const和用var来声明变量的区别
集成spring boot + mysql + docker实战
js sort方法根据数组中对象的某一个属性值进行排序(实用方法)
小试牛刀之sort()排序的实现
Redis字符串(STRING)中BIT相关命令
koa,express,node 通用方法连接MySQL
JavaScript预解释是一种毫无节操的机制
[php]如何做到高并发优化
原文地址:https://www.cnblogs.com/HD/p/147749.html
最新文章
【架构】docker环境搭建mysql主从
【云计算】Docker云平台—Docker进阶
【云计算】实战-五个Docker监控工具的对比
跨域访问的方式
httpClient
springMVC新理解
转ajax的jsonp的文章
三大linux系统对比
静态与伪静态
mybatis主键返回的实现
热门文章
springMVC文件上传的三种方法
java中new一个对象放在循环体里面与外面的区别
Google新出品的数据格式:Protocol Buffer
BEST FREE UNITY ASSETS – OVER 200 CURATED QUALITY ASSETS
A Comparison of Serverless Frameworks for Kubernetes: OpenFaas, OpenWhisk, Fission, Kubeless and more
Resource Site
Game Publisher
Ubuntu18.04安装redis-server启动出错
Install PDFtk on Ubuntu
CNCF LandScape Summary
Copyright © 2011-2022 走看看