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

complete noob

philgoodsell
Registered: Mar 5 2009
Posts: 2

Sorry if this question has been asked three millions time but i tried searching and couldnt quite find what i needed.

im looking to put an acrobat reader in the middle of my page, easy enough with frontpage. the problem comes in that im trying to have a list of files on one side of the page and when you click each link it shows that file in the reader.

Thanks for your help

thomp
Expert
Registered: Feb 15 2006
Posts: 4411
This is a common enough situation, but we don't get too many questions about it.

On an HTML Page/Frame (and I prefer the fram) a PDF is displayed in an tag. To change the file being displayed, all you have to do is changer the "data" property of this tag (with HTML JavaScript). You can find an example here.http://www.windjack.com/WindJack/Browser2PDF/brwsr2acroJS.htm

I created this page to demonstrate message passing between Acrobat JavaScript and HTML JavaScript, but it also demonstrates opening an arbitrary PDF into the browser.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script