-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
69 lines (47 loc) · 1.46 KB
/
index.html
File metadata and controls
69 lines (47 loc) · 1.46 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Kaluga Embed</title>
<style>
input {
border:1px solid #2e2e2e;
padding:5px;
}
button {
margin-left:2px;
padding:4px;
}
iframe {
margin:5px;
}
</style>
</head>
<body>
<h2>Nederlands</h2>
<input id="nl" value="<iframe width='100%' frameBorder='0' src='https://avans.github.io/Kaluga_embed/nederlands.html'></iframe>" />
<button onclick="copy('nl')">Copy to clipboard</button>
<br>
<iframe width='100%' frameBorder='0' src='nederlands.html'></iframe>
<hr>
<h2>Engels</h2>
<input id="en" value="<iframe width='100%' frameBorder='0' src='https://avans.github.io/Kaluga_embed/english.html'></iframe>" />
<button onclick="copy('en')">Copy to clipboard</button>
<br>
<iframe width='100%' frameBorder='0' src='english.html'></iframe>
<script>
function copy(id) {
/* Get the text field */
var copyText = document.getElementById(id);
/* Select the text field */
copyText.focus();
copyText.select();
copyText.setSelectionRange(0, 99999); /* For mobile devices */
/* Copy the text inside the text field */
document.execCommand("copy");
}
</script>
</body>
</html>