Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


javascript and PDF document



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> JavaScript Forum
View previous topic :: View next topic  
Author Message
prolog



Joined: 06 May 2008
Posts: 1

PostPosted: Tue May 06, 2008 4:20 pm    Post subject: javascript and PDF document Reply with quote

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
View user's profile Send private message
johnm



Joined: 25 May 2008
Posts: 1
Location: Belgium

PostPosted: Sun May 25, 2008 11:14 am    Post subject: Re: javascript and PDF document Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> JavaScript Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap