会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Road
往来千里路长在, 聚散十年人不同
博客园
首页
新随笔
联系
管理
订阅
层遮罩
.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='width:
"
+
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
>
posted @
2008-07-07 11:55
zhengguoqing
阅读(
287
) 评论(
0
)
编辑
收藏
举报
会员力量,点亮园子希望
刷新页面
返回顶部
公告