-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjs-addins.html
137 lines (136 loc) · 6.38 KB
/
js-addins.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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<script>
/* Get the modal*/
var modalexample2 = document.getElementById('modalexample2');
/* Get the image and insert it inside the modal - use its 'alt' text as a caption*/
var imgexample2 = document.getElementById('imgexample2');
var modalImgexample2 = document.getElementById('imgmodalexample2');
var captionTextexample2 = document.getElementById('captionexample2');
imgexample2.onclick = function(){
modalexample2.style.display = 'block';
modalImgexample2.src = this.src;
captionTextexample2.innerHTML = this.alt;
}
/* When the user clicks on the modalImg, close it*/
modalImgexample2.onclick = function() {
modalexample2.style.display = 'none';
}
</script>
<script>
/* Get the modal*/
var modalexample3 = document.getElementById('modalexample3');
/* Get the image and insert it inside the modal - use its 'alt' text as a caption*/
var imgexample3 = document.getElementById('imgexample3');
var modalImgexample3 = document.getElementById('imgmodalexample3');
var captionTextexample3 = document.getElementById('captionexample3');
imgexample3.onclick = function(){
modalexample3.style.display = 'block';
modalImgexample3.src = this.src;
captionTextexample3.innerHTML = this.alt;
}
/* When the user clicks on the modalImg, close it*/
modalImgexample3.onclick = function() {
modalexample3.style.display = 'none';
}
</script>
<script>
/* Get the modal*/
var modalexample4 = document.getElementById('modalexample4');
/* Get the image and insert it inside the modal - use its 'alt' text as a caption*/
var imgexample4 = document.getElementById('imgexample4');
var modalImgexample4 = document.getElementById('imgmodalexample4');
var captionTextexample4 = document.getElementById('captionexample4');
imgexample4.onclick = function(){
modalexample4.style.display = 'block';
modalImgexample4.src = this.src;
captionTextexample4.innerHTML = this.alt;
}
/* When the user clicks on the modalImg, close it*/
modalImgexample4.onclick = function() {
modalexample4.style.display = 'none';
}
</script>
<script>
/* Get the modal*/
var modalexample5 = document.getElementById('modalexample5');
/* Get the image and insert it inside the modal - use its 'alt' text as a caption*/
var imgexample5 = document.getElementById('imgexample5');
var modalImgexample5 = document.getElementById('imgmodalexample5');
var captionTextexample5 = document.getElementById('captionexample5');
imgexample5.onclick = function(){
modalexample5.style.display = 'block';
modalImgexample5.src = this.src;
captionTextexample5.innerHTML = this.alt;
}
/* When the user clicks on the modalImg, close it*/
modalImgexample5.onclick = function() {
modalexample5.style.display = 'none';
}
</script>
<script>
/* Get the modal*/
var modalexample2 = document.getElementById('modalexample2');
/* Get the image and insert it inside the modal - use its 'alt' text as a caption*/
var imgexample2 = document.getElementById('imgexample2');
var modalImgexample2 = document.getElementById('imgmodalexample2');
var captionTextexample2 = document.getElementById('captionexample2');
imgexample2.onclick = function(){
modalexample2.style.display = 'block';
modalImgexample2.src = this.src;
captionTextexample2.innerHTML = this.alt;
}
/* When the user clicks on the modalImg, close it*/
modalImgexample2.onclick = function() {
modalexample2.style.display = 'none';
}
</script>
<script>
/* Get the modal*/
var modalexample3 = document.getElementById('modalexample3');
/* Get the image and insert it inside the modal - use its 'alt' text as a caption*/
var imgexample3 = document.getElementById('imgexample3');
var modalImgexample3 = document.getElementById('imgmodalexample3');
var captionTextexample3 = document.getElementById('captionexample3');
imgexample3.onclick = function(){
modalexample3.style.display = 'block';
modalImgexample3.src = this.src;
captionTextexample3.innerHTML = this.alt;
}
/* When the user clicks on the modalImg, close it*/
modalImgexample3.onclick = function() {
modalexample3.style.display = 'none';
}
</script>
<script>
/* Get the modal*/
var modalexample4 = document.getElementById('modalexample4');
/* Get the image and insert it inside the modal - use its 'alt' text as a caption*/
var imgexample4 = document.getElementById('imgexample4');
var modalImgexample4 = document.getElementById('imgmodalexample4');
var captionTextexample4 = document.getElementById('captionexample4');
imgexample4.onclick = function(){
modalexample4.style.display = 'block';
modalImgexample4.src = this.src;
captionTextexample4.innerHTML = this.alt;
}
/* When the user clicks on the modalImg, close it*/
modalImgexample4.onclick = function() {
modalexample4.style.display = 'none';
}
</script>
<script>
/* Get the modal*/
var modalexample5 = document.getElementById('modalexample5');
/* Get the image and insert it inside the modal - use its 'alt' text as a caption*/
var imgexample5 = document.getElementById('imgexample5');
var modalImgexample5 = document.getElementById('imgmodalexample5');
var captionTextexample5 = document.getElementById('captionexample5');
imgexample5.onclick = function(){
modalexample5.style.display = 'block';
modalImgexample5.src = this.src;
captionTextexample5.innerHTML = this.alt;
}
/* When the user clicks on the modalImg, close it*/
modalImgexample5.onclick = function() {
modalexample5.style.display = 'none';
}
</script>