> Is it possible to display a PDF document on a page with a bunch of input 
> fields?
> I have only been able to display a pdf on a page by itself using cfheader and
> cfcontent but now want to display it in a frame/div on the bottom of another
> page.  Anybody know how to do this?

Yes, and you don't even need an iframe. Just do something like this:

<object classid="clsid:CA8A9780-280D-11CF-A24D-444553540000"
       width="530" height="450">
       <param name="src" value="path/to/yourpdf.cfm">
       <embed src="path/to/yourpdf.cfm" height="450" width="530">
          <noembed>Your browser does not support embedded PDF files.</noembed>
      </embed>
</object>

The CLSID parameter is used for embedding ActiveX controls, and
contains the value for Adobe Reader. The EMBED tag is used for
platforms that don't support ActiveX, like Firefox.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316085
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to