时区和时钟同步
2012-02-25 15:08
204 查看
<html> <head> <title>无忧脚本代码测试网页</title> </head> <body style="margin: 0px;" > <br> <INPUT value=Text> <SELECT style="WIDTH: 134px" name=""> <OPTION value=下拉选择框 selected>下拉选择框</OPTION><OPTION value=下拉选择框1>下拉选择框1</OPTION></SELECT> <button onclick="demo()">DialogClass</button> <br>11<br>11<br>11<br>11<br>11<br>11<br>11<br>11<br>11<br>11<br>11<br>11<br>11<br>11<br>11<br>11<br>11v <br>11<br>11<br>11<br>11<br>11<br>11<br>11 <br>11<br>11<br>11<br>11<br>11<br>11<br>11<br>11<br>11<br>11 <br>11<br>11<br>11<br>11<br>11<br>11<br>11<br>11<br>11<br>11<br>11<br>11<br>11<br>11<br>11<br>11<br>11v <br>11<br>11<br>11<br>11<br>11<br>11<br>11 <br>11<br>11<br>11<br>11<br>11<br>11<br>11<br>11<br>11<br>11 <script> var dialog = new DialogClass(); function demo() { dialog.show(); //解决楼下老兄提的问题 window.focus(); //5秒以后关闭:dialog.close(); setTimeout("dialog.close()",5000); } /** * 类 名 称: DialogClass * 功能说明: 禁止页面点击类 * 版权信息: CopyRight 2005-2006 JoeCom * 创 建 人: JoeCom | MSN:juwuyi@hotmail.com | blog:http://hi.baidu.com/joecom * 创建日期: 2006-07-21 * 修 改 人: * 修改日期: */ function DialogClass(){ this.blankImgHandle = null; this.tags = new Array("applet", "iframe", "select","object","embed"); this.body_overflow_y = null; this.body_overflow_x = null; this.show = function() { this.body_overflow_y = document.body.style.overflowY; this.body_overflow_x = document.body.style.overflowX; document.body.style.overflowX = "hidden"; document.body.style.overflowY = "hidden"; var w = "100%" ; var h = "100%" ; this.blankImgHandle = document.createElement("iframe"); with (this.blankImgHandle.style){ position = "absolute"; left = 0; top = document.body.scrollTop; height = "100%"; width = "100%"; zIndex = "9999"; filter = "progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=10)"; opacity = "0.1"; } document.body.appendChild(this.blankImgHandle); } this.close = function(){ document.body.style.overflowY = this.body_overflow_y; document.body.style.overflowX = this.body_overflow_x; if (this.blankImgHandle) { this.blankImgHandle.parentNode.removeChild(this.blankImgHandle); } } } </script> </body> </html>
相关文章推荐
- linux系统时间同步,硬件时钟和系统时间同步,时区的设置
- linux系统时间同步,硬件时钟和系统时间同步,时区的设置
- Linux下时钟时区以及时间同步的命令和配置
- Linux下时钟时区以及时间同步的命令和配置
- linux系统时间同步,硬件时钟和系统时间同步,时区的设置
- CentOS调整时区及同步时间
- 异步复位同步释放的方法以及多时钟系统的复位设计
- ubuntu设置时区,网上同步时间
- CentOS 6 时间,时区,设置修改及时间同步
- 时区、时间、夏令时及NTP时间同步设置
- 转载:基于NTP的高精度时钟同步系统实现_电子技术应用
- 北斗时钟服务器(北斗时钟同步系统-网络时钟同步产品)
- 对I2C总线的时钟同步和总线仲裁的深入理解
- Vmware中linux修改时间与主机同步,修改时区
- ROS知识(11)----同步两台机器时钟
- VMware中Linux系统时间与主机同步以及时区设置
- linux系统时钟同步设置
- AIX 6.1 上 NTP 时钟同步配置详解
- linux debian下配置ntp时钟同步
- linux下修改时区、时间同步、开机自启时间同步设置