-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo8.html
96 lines (86 loc) · 1.96 KB
/
demo8.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<html>
<head>
<title>
Mouse Events
</title>
</head>
<style>
td {
padding: 45px;
}
body{
background-color: aqua;
}
#c{
text-align: center;
background-color: pink;
padding: 24px;
}
body{
margin: 0%;
}
#over{
background-color: orangered;
padding:24px
}
#enter{
background-color: orangered;
padding:24px
}
#move{
background-color: orangered;
padding:24px
}
#text{
font-size: 42px;
background-color: aqua;
}
#text1{
font-size: 42px;
background-color: aqua;
}
#text2{
font-size: 42px;
background-color: aqua;
}
h{
background-color: blue;
}
</style>
<body>
<table align="center">
<tr cell>
<td>
<div id="over">
<center>
<h>MouseOver triggered</h>
<p id="text">
0
</p>
</center>
</div>
</td>
<td>
<div id="enter">
<center>
<h>MouseEnter triggered</h>
<p id="text1">
0
</p>
</center>
</div>
</td>
<td>
<div id="move">
<center>
<h>MouseMove triggered</h>
<p id="text2">
0
</p>
</center>
</div>
</td>
</tr>
</body>
<script type="text/javascript" src="demo8.js"></script>
</html>