|
-
Sep 18th, 2003, 11:55 AM
#1
Thread Starter
Hyperactive Member
javascript control embeded PDF
Hello people it's been a long time.
Here's my problem.
I'm embedding a PDF file like so:
Code:
<OBJECT name="monkey" id="monkey" CLASSID="clsid:CA8A9780-280D-11CF-A24D-444553540000" WIDTH=450 HEIGHT=450>
<PARAM NAME="SRC" VALUE="test.pdf">
</OBJECT>
PDF's have built in javascript so i have a function within the PDF's javascript called helloworld() 
What I want to do is call the PDF's helloworld() function from the Parent HTML page using javascript I would have thought that :
if i put :
Code:
document.all.monkey.helloworld()
That this would do the trick but it doesn't.
Can't find a single web referenc on this so please someone help...
Cheers people.
-
Sep 19th, 2003, 04:55 AM
#2
Thread Starter
Hyperactive Member
-
Sep 23rd, 2003, 01:49 AM
#3
Beside being completly IE-specific...
You could call it somewhat of a security hazard. It's probably a good thing this isn't allowed. Beside, I think the plugin just doesn't integrate well enough to allow this. Maybe there is some function called callEmbeddedJavascript or some such.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|