-
Notifications
You must be signed in to change notification settings - Fork 2
/
iframe-demo.html
58 lines (55 loc) · 1.43 KB
/
iframe-demo.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>iframe demo</title>
<style>
iframe {
border: none;
}
</style>
</head>
<body>
<p>
We provide <code>/iframe/*</code> routes that are designed for reuse.
These examples assume you have a development instance running locally.
When working correctly, links should navigate the whole page, not just the
iframe. Remember to set <code>border: none;</code> in the CSS.
</p>
<h2><code>/iframe/entity-counts</code></h2>
<h3>Horizontal</h3>
<div>
<iframe
src="http://localhost:5001/iframe/entity-counts"
height="112"
width="800"
></iframe>
</div>
<h3>Vertical</h3>
<div>
<iframe
src="http://localhost:5001/iframe/entity-counts"
height="448"
width="200"
></iframe>
</div>
<h2><code>/iframe/assay-barchart</code></h2>
<div>
<iframe
src="http://localhost:5001/iframe/assay-barchart"
height="450"
width="800"
scrolling="no"
></iframe>
<!-- The element has more whitespace at the bottom than you probably need.-->
</div>
<h2><code>/iframe/organ</code></h2>
<div>
<iframe
src="http://localhost:5001/iframe/organ?iri=http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FUBERON_0002113"
height="604"
width="916"
scrolling="no"
></iframe>
</div>
</body>
</html>