STEP THREE:
Put the HTML-code produced by the generator somewhere in the body of a page in which you want to show a dynamic animated auto-resizing iframe. That page could be named
main.html, for instance. Note that the name of the file which loads in the iframe within
main.html is the one you put in the dialogue box after hitting the
name of your iframed file button above.
STEP FOUR:
In the generated code, there's a line having something like
<div class="close_button" onclick="kill_iframe('bla_frame','bla_div')">X</div><br>. You may remove that line if you want, as the text-link used to display the iframe can also be used to 'kill' it (toggle).
You may also want to keep the line and, at the same time, remove the toggling-property of the text-link. In that case, remove the 'else part' in the first line of the code.
STEP FIVE:
You're not done yet. You have to put two external scripts and one external stylesheet in the head of
main.html to make things work. Click on the links to see what must be put inside these files:
<link href="animated_autoresize_iframe_styles.css" rel="stylesheet" type="text/css">
<script src="animated_autoresize_iframe.js"></script>
<script defer src="iframe_correction.js"></script>
Enjoy,
© Arie Molendijk - classical-music.tk