These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Working Example using HostContainer

jiepher
Registered: Jun 7 2007
Posts: 2

I'm looking for a working code example involving communication between a web page and its embeded PDF (via the hostContainer objetct). Any body have done such a thing? It's not platform or Browser-centric. Just have to be a working example. I've look in the JavaScript Documentation for HostContainer, but it contains only the PDF Javascript part and I'm having a little trouble figuring out how to make it work on the other side... On the net, everybody seems to face same problem as me.
Thanks in advance for your help!

My Product Information:
Reader 8, Windows
Dimitri
Expert
Registered: Nov 1 2005
Posts: 1389
Hi jiepher,

Here's a link to an example using the HostContainer Object-

[url=http://www.windjack.com/WindJack/Browser2PDF/brwsr2acroJS.htm]http://www.windjack.com/WindJack/Browser2PDF/brwsr2acroJS.htm[/url]

Info on this document from the WindJack Solutions Site-
"This is a link to a framed web page. PDF documents can be loaded into either of two frames from an URL. If the documents contain the correct JavaScript, the browser and the PDF Page can send messages to one another. An example PDF is provided. Messaging is done with the New "HostContainer" object in Acrobat 7.05. Must have Internet Explorer (Windows only) and Acrobat 7.05 (Reader or Professional)"


Hope that helps,

Dimitri
WindJack Solutions
[url=http://www.windjack.com]www.windjack.com[/url]