|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
Display PDF on page with other data
Is it possible to display a PDF document on a page with a bunch of input fields?Kevin Stone 12/01/08 04:28 P You could use an iframe.Robert Harrison 12/01/08 04:32 P Have you tried rendering it in an iframe?Nicholas M Tunney 12/01/08 04:36 P Works like a champ. I was so caught up in doing it with CF tags that I didn't even think about the iframe. THanks.Kevin Stone 12/01/08 04:54 P > Is it possible to display a PDF document on a page with a bunch of input fields?Dave Watts 12/01/08 05:00 P 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? thanks You could use an iframe. Robert B. Harrison Director of Interactive services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be either/or... It must be &. 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? thanks Have you tried rendering it in an iframe? Kevin Stone wrote: ----- Excess quoted text cut - see Original Post for more ----- Works like a champ. I was so caught up in doing it with CF tags that I didn't even think about the iframe. THanks. > 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!
|
May 24, 2012
|
Latest Fusion Authority Articles
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||