Skip to content
This repository was archived by the owner on Mar 8, 2021. It is now read-only.

Commit 82b58f3

Browse files
committed
Add buttons to example file that toggle autoResize on/off
Signed-off-by: Dennis Kronbügel <[email protected]>
1 parent ba0beae commit 82b58f3

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

example/frame.content.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,18 @@
2929
>Size(250)</a
3030
>
3131
&nbsp;
32+
<a
33+
href="#"
34+
onclick="if ('parentIFrame' in window) window.parentIFrame.autoResize(true);return false;"
35+
>autoResize(true)</a
36+
>
37+
38+
<a
39+
href="#"
40+
onclick="if ('parentIFrame' in window) window.parentIFrame.autoResize(false);return false;"
41+
>autoResize(false)</a
42+
>
43+
3244
<a id="nested" href="frame.nested.html">Nested</a>
3345
&nbsp;
3446
<a href="frame.hover.html">:Hover</a>

0 commit comments

Comments
 (0)