Link to home
Start Free TrialLog in
Avatar of NYGiantsFan
NYGiantsFanFlag for United States of America

asked on

<cfdocument> in a frameset....

Has anyone been able to get the cfdocument tag to open in a frameset?  See below code for example...

The terms_pdf.cfm was to open a pdf.  The page works fine, until I drop it into a frame and it fails.

If this isn't going to work anyone else have a suggestion how to display this? Can only the pdf be displayed?
<frameset col="30%,*">
<frame src="parmenu.cfm" />
<cfif session.type eq 't' >
<frame src="terms_pdf.cfm" />
<cfelseif session.type eq 'a'>
<frame src="account_pdf.cfm" />
</cfif> 
 
 
 
</frameset>

Open in new window

Avatar of galadore
galadore
Flag of United States of America image

Have you tried iframes?  You should be able to display HTML as well as your PDF.  I haven't tested that recently, but I recall building a PDF viewer a while back and we used iframes to do the job.
Avatar of NYGiantsFan

ASKER

sorry, I am not that familiar with iframes.  
ASKER CERTIFIED SOLUTION
Avatar of galadore
galadore
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial