Skip to content

Commit f5620c6

Browse files
author
yangjiadong
committed
'passwordDialog'
1 parent d81bded commit f5620c6

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed
+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
<!DOCTYPE>
2+
<html>
3+
<head>
4+
<title>记住密码提示框</title>
5+
<script>
6+
window.onload=function(){
7+
var check=document.getElementById('check');
8+
var msg=document.getElementById('alertMsg');
9+
check.onmouseover=function(){
10+
msg.setAttribute('style','display:block');
11+
}
12+
check.onmouseout=function(){
13+
msg.setAttribute('style','display:none');
14+
}
15+
16+
}
17+
</script>
18+
<style>
19+
*{
20+
margin:0;
21+
padding:0;
22+
}
23+
#outer{
24+
width:460px;
25+
margin:0 auto;
26+
font-size: 0.9em;
27+
margin-top:8px;
28+
}
29+
#alertMsg{
30+
margin-top:3px;
31+
font-size: 0.8em;
32+
width:249px;;
33+
padding:15px;
34+
background-color:#ffefa4;
35+
border:1px solid #f90;
36+
display: none;
37+
}
38+
input{
39+
margin-right: 5px;
40+
}
41+
</style>
42+
</head>
43+
<body>
44+
<div id="outer">
45+
<input type="checkbox" id="check"/><span>两周内自动登陆</span>
46+
<div id="alertMsg">为了您的信息安全,请不要在网吧或公共场合使用该功能</div>
47+
</div>
48+
49+
</body>
50+
</html>

0 commit comments

Comments
 (0)