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>
查看全文
相关阅读:
select/poll/epoll 对比
I/O Mutiplexing poll 和 epoll
Socket 编程IO Multiplexing
ubuntu12.04 lts 安装gcc 4.8
time since epoch
ceph-RGW Jewel版新概念
支持向量机(svm)
MachineLearning之Logistic回归
ML之回归
ML之监督学习算法之分类算法一 ——— 决策树算法
原文地址:https://www.cnblogs.com/HD/p/147749.html
最新文章
数据分析之---Python可视化工具
ARM-Linux中断系统
阅读Cortex-A53 Technical Reference Manual笔记
Linux下Power Management开发总结
Linux时间子系统专题汇总
Linux时间子系统之三:jiffies
Lauterbach TRACE32技巧小集
Linux内核编程、调试技巧小集
Linux时间子系统之二:Alarm Timer
ELF格式文件分析以及运用
热门文章
Linux时间子系统之一:认识timer_list和timer_stats和使用
Linux时间子系统之八:动态时钟框架(CONFIG_NO_HZ、tickless)
Linux时间子系统之七:定时器的应用--msleep(),hrtimer_nanosleep()
Linux时间子系统之六:高精度定时器(HRTIMER)的原理和实现
Linux时间子系统之四:定时器的引擎:clock_event_device
Linux时间子系统之五:低分辨率定时器的原理和实现
Mysql 常用命令
Ubuntu 安装mysql和简单操作
IO multiplexing 与 非阻塞网络编程
APUE 3rd
Copyright © 2011-2022 走看看