Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTA and Frames 2

Status
Not open for further replies.

pbellc

Programmer
Jun 6, 2003
36
US
Is there any way to use frames within an HTA file?
 
Not exactly. If one of the frames is another hta, it asks &quot;Open or download&quot;. I tried iframes, but I am having the same problem. Microsofts web site implies that if you use &quot;special attribute on the <FRAME> or <IFRAME> tag that is unique to HTAs. By specifying TRUSTED=YES, the HTA infers all of its privileges upon the content it navigates into the frame. &quot; But it doesn't say how to use this &quot;special attribute&quot;.

Thoughts?
 
I see. It works fine if the frames are .htm but I got the same result as you if a frame is .hta. Have you tried adding the hta files filespec as a trusted site in security settings?

Clive
 
If you use the master frame as a .hta, and change the dynamic frames to .htm (even though they are .hta's) and insert the application=&quot;yes&quot; in the tag for the .htm's they will function as .hta's within the frame evironment.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top