NYGiantsFan
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?
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>
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.
ASKER
sorry, I am not that familiar with iframes.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.