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>
查看全文
相关阅读:
java基础之 javac编译单个文件并执行 带jar包
java 按照字符数分解字符串
转载 模糊查询map中的key
public final static PrintStream out = null; 的实例化猜想
从0开始搭个网站在云上 思路引导
java 泛型操作
git 命令行
React Native 安卓添加阴影
react native 按钮的那些事
mac 下 react Native android环境搭建
原文地址:https://www.cnblogs.com/HD/p/147749.html
最新文章
PHP API接口数据简单快速的加密解密
Linux 管理面板云帮手、APPNODE与宝塔哪个好
linux服务器清理指定日期所有垃圾日志文件
快速生成视频互动直播包含会议直播APP(Android)
微信内置浏览器禁止调整字体大小的方法
iOS9 3DTouch开发
Flutter 仿iOS自定义UIPageControl组件
Flutter 图片、组件高斯模糊处理
Flutter 滚动改变透明度
Flutter 获取状态栏高度
热门文章
Flutter flutter: Another exception was thrown: setState() called after dispose()报错
Flutter 动画设置贝塞尔曲线
Flutter 画贝塞尔曲线
Flutter 修改状态栏颜色
Flutter 全屏背景图(包括 Appbar 和 状态栏)
iOS LaunchScreen.storyboard启动图缓存问题处理
开发开源工具集合
C# sharepoint 上传文件
spring boot + spring Security + redis token 思路爬坡
lambda java 实例
Copyright © 2011-2022 走看看