I put this in the framed window:
Code:
<h2>Order Form for Joe's Fruit Shop</h2>
<p>A <span class="red">*</span> means you must fill in the details.</p>
<iframe name="orderform" src="./orderform.html" height="60%" width="100%"></iframe>
<iframe name="helppage" src="./blank.html" height="40%" width="100%"></iframe>
In the javascript file I put:
Code:
function openHelp() {
window.open("./help.html","helppage");
}
Finally in the order form html I put
Code:
<input type="button" value="Help" onclick="openHelp()" />