File tree 1 file changed +50
-0
lines changed
1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change
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
+ bor der: 1px solid # f90 ;
36
+ dis play: 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 >
You can’t perform that action at this time.
0 commit comments