-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.js
45 lines (42 loc) · 1.35 KB
/
main.js
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
var e = document.getElementById('icon1');
e.onmouseover = function() {
document.getElementById('text1').style.display = 'block';
}
e.onmouseout = function() {
document.getElementById('text1').style.display = 'none';
}
var e = document.getElementById('icon2');
e.onmouseover = function() {
document.getElementById('text2').style.display = 'block';
}
e.onmouseout = function() {
document.getElementById('text2').style.display = 'none';
}
var e = document.getElementById('icon3');
e.onmouseover = function() {
document.getElementById('text3').style.display = 'block';
}
e.onmouseout = function() {
document.getElementById('text3').style.display = 'none';
}
var e = document.getElementById('icon4');
e.onmouseover = function() {
document.getElementById('text4').style.display = 'block';
}
e.onmouseout = function() {
document.getElementById('text4').style.display = 'none';
}
var e = document.getElementById('icon5');
e.onmouseover = function() {
document.getElementById('text5').style.display = 'block';
}
e.onmouseout = function() {
document.getElementById('text5').style.display = 'none';
}
var e = document.getElementById('icon6');
e.onmouseover = function() {
document.getElementById('text6').style.display = 'block';
}
e.onmouseout = function() {
document.getElementById('text6').style.display = 'none';
}