|
JavaScript Tips Using Frames and Internal Frames with HTA (HTML Applications) Files Frames and internal frames embedded inside HTA (HTML Application ) files cannot modify data outside of their respective frames using JavaScript, unless the application attribute is set to yes in the HTML tag that created the frame/internal frame. Below is an example of markup that creates an internal frame that has full read/write access to data in its parent's window: <iframe src="iframe.htm" application="yes"><iframe>Below is an example of markup that creates a frameset with two frames, both of which have full read/write access to their parent window, and each other's frames: <frameset rows="*,80"><frame src="frame1.htm" name="content" application="yes"> <frame src="frame2.htm" name="footer" application="yes"> </frameset> |