zoukankan
html css js c++ java
层遮罩
.LoginWinDIV
{
}
{
width
:
119px
;
height
:
71px
;
z-index
:
99
;
background-color
:
#F0F4FB
;
border
:
1px solid #ffffff
;
border-bottom
:
4px solid #92a9c4
;
padding
:
1px
;
}
.LoginWinDIV1
{
}
{
position
:
absolute
;
left
:
0px
;
top
:
0px
;
z-index
:
98
;
background-color
:
#000000
;
filter
:
progid:DXImageTransform.Microsoft.Alpha(opacity=90)
;
}
.ShieldWinDIV
{
}
{
position
:
absolute
;
left
:
0px
;
top
:
0px
;
background-color
:
#0D1426
;
filter
:
progid:DXImageTransform.Microsoft.Alpha(opacity=70)
;
z-index
:
98
;
}
<
html
>
<
head
>
<
meta
http-equiv
="Content-Type"
content
="text/html; charset=gb2312"
>
<
link
href
="stylesheet.css"
rel
="stylesheet"
type
="text/css"
/>
<
script
type
="text/javascript"
language
="javascript"
>
<!--
var
url;
url
=
location;
//
登录窗口
function
Login()
{
if
(LoginWinDIV)
{
LoginWinDIV.style.display
=
''
;
NGShieldDIV();
}
}
//
屏蔽操作
function
NGShieldDIV()
{
if
(document.body.clientHeight
>
screen.height
-
120
)
{
Layer1height
=
document.body.clientHeight;
Layer1width
=
document.body.offsetWidth;
}
else
{
Layer1height
=
screen.height;
Layer1width
=
document.body.offsetWidth;
}
varstr
=
"
<div id='LoginWinDIV2' oncontextmenu='event.returnValue=false'
class='ShieldWinDIV' style='
"
+
Layer1width
+
"
;height:
"
+
Layer1height
+
"
;'></div>
"
;
ShieldWinDIV.innerHTML
=
varstr;
}
//
放开操作
function
OpenDIV()
{
ShieldWinDIV.innerHTML
=
""
;
}
//
-->
</
script
>
<
script
type
="text/javascript"
language
="javascript"
>
var
DIVWidth
=
document.body.clientWidth;
var
DIVHeigth
=
document.body.clientHeight;
LoginWinDIV.style.left
=
DIVWidth
/
2-240;
LoginWinDIV.style.top
=
200
;
RegeditWinDIV.style.left
=
DIVWidth
/
2-240;
RegeditWinDIV.style.top
=
200
;
InfoWinDIV.style.left
=
DIVWidth
/
2-240;
InfoWinDIV.style.top
=
200
;
</
script
>
</
head
>
<
body
>
<
span
id
='ShieldWinDIV'
></
span
>
<
div
id
="LoginWinDIV"
class
="LoginWinDIV"
style
="position: absolute; left: 204px;
top: 91px; z-index: 99; padding: 1px; display: none;"
>
<
input
name
="btnSubmit"
type
="button"
class
="buttonStyle"
value
=" 取消 "
onclick
="OpenDIV();LoginWinDIV.style.display='none';"
/></
div
>
<
center
>
<
input
name
="btnSubmit2"
type
="button"
class
="buttonStyle"
value
="上传文件"
onclick
=" Login()"
/>
</
center
>
</
body
>
</
html
>
查看全文
相关阅读:
Python:遍历文件目录及子目录,并批量改变文件名称
python:利用递归遍历文件夹所有文件(包括子文件夹里的文件)
python文件,文件夹操作
Ubuntu安装vim报错的的处理
Centos7安装Chrome
Centos7更换阿里yum源
CentOS7设置启动默认界面方法
Vim快捷键学习---记性不行了,留这里备查
第7-9章作业汇总
第四次作业---第三题陈岩岩
原文地址:https://www.cnblogs.com/ZhengGuoQing/p/1237384.html
最新文章
把txt内容导入plist文件
介绍一款代码神器-TeaCode
iOS开发之TextView常用属性
使用flask-restful搭建API
根据屏幕分辨率判断当前手机型号(swift4.1)
2019-在iOS里添加admob横幅广告示例
python获取命令行变量
Linux新建用户无法使用tab补全的修改办法
通过表查询存储过程
查询角色
热门文章
查看数据库
oracle dba面试问题
oracle dba比较好的书籍
oracle表查询
用户管理
sqlplus "/as sysdba"登录数据库时出现错误
查看oracle数据库是否安装好
java中重载和重写
生成器函数_不成熟的一点理解
Django First Time
Copyright © 2011-2022 走看看