/
index.html
45 lines (45 loc) · 924 Bytes
/
index.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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>sample</title>
<style>
#child {
width: 400px;
height: 450px;
}
#output {
background-color: black;
color: white;
width: 400px;
height: 300px;
}
</style>
<script src="./build/parent-bundle.js"></script>
</head>
<body>
<table border=0>
<tr>
<td width=50%>
<h3>Send Message</h3>
<div class="control">
<ul>
<li><button id="send1">[dataBus01] 1, 2, 3</button></li>
<li><button id="send2">[dataBus01] foo, bar</button></li>
<li><button id="send3">[dataBus02] 1, 2, 3</button></li>
<li><button id="destroy">destroy</button></li>
</ul>
</div>
<h3>Received Message</h3>
<textarea id="received" rows="10" cols="30"></textarea>
</td>
<td width=50%>
<h3>IFrame</h3>
<div>
<iframe id="child" src="./child.html"></iframe>
</div>
</td>
</tr>
</table>
</body>
</html>