-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtest.html
51 lines (46 loc) · 1.27 KB
/
test.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
<!DOCTYPE html>
<html>
<head>
<title>Embed Test</title>
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no" />
<style>
body {
font: 14px/1.4 Arial, Helvetica, sans-serif;
color: #333;
}
h3 {
margin: 0 0 1em 0;
color: #333;
font-size: 12px;
background-color: #eee;
padding: 5px 10px;
}
p { margin: 0 0 1em 0; }
p.note {
font-size: 12px;
color: #666;
}
textarea {
display: block;
margin-bottom: 2em;
}
#example {
margin-bottom: 2em;
}
</style>
</head>
<body>
<h3>iFrame Preview</h3>
<div id="example"></div>
<h3>Embed Code</h3>
<!-- textarea contents -->
<textarea readonly="readonly" rows="10" cols="50">
<div id="example"></div>
<script type="text/javascript" src="js/pym.js"></script>
<script>var pymParent = pym.Parent('example', 'index.html', {});</script>
</textarea>
<!-- end textarea contents -->
<script type="text/javascript" src="js/pym.js"></script>
<script>var pymParent = new pym.Parent('example', 'index.html', {});</script>
</body>
</html>