It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

javascript and PDF document

javascript and PDF document

Postby prolog on Tue May 06, 2008 3:20 pm

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?
prolog
 
Posts: 0
Joined: Tue May 06, 2008 2:33 pm

Postby johnm on Sun May 25, 2008 10:14 am

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: Select all
http://www.xyz.com/document.pdf#search="whatever"


No special JavaScript code needed here!!


Greetings,
John
johnm
 
Posts: 0
Joined: Sun May 25, 2008 10:00 am
Location: Belgium


Who is online

Users browsing this forum: No registered users and 5 guests