| View previous topic :: View next topic |
| Author |
Message |
prolog
Joined: 06 May 2008 Posts: 1
|
Posted: Tue May 06, 2008 4:20 pm Post subject: javascript and PDF document |
|
|
I have a small iframe, which loads a PDF document, in my webpage.
My question is...
Is it possible to write javascript that controls the PDF in the iframe?
For example, I need it to search something in the PDF and select the first word found.
Is it possible? |
|
| Back to top |
|
 |
|
|
johnm
Joined: 25 May 2008 Posts: 1 Location: Belgium
|
Posted: Sun May 25, 2008 11:14 am Post subject: Re: javascript and PDF document |
|
|
Yes, it is possible.
Use the new possibilities of the Adobe Acrobat Reader when called from the browser.
The search function of the Adobe Acrobat Reader is invoked like this:
| Code: |
http://www.xyz.com/document.pdf#search="whatever" |
No special JavaScript code needed here!!
Greetings,
John |
|
| Back to top |
|
 |
|