
June 26th, 2009, 05:16 PM
|
|
Contributing User
|
|
Join Date: Mar 2006
Posts: 33

Time spent in forums: 14 h 5 m 48 sec
Reputation Power: 4
|
|
|
JavaScript - Call External Javascript from Adobe Reader
So I operate a library of PDF files, linked to eachother with javascripts drop down menus embedded in the PDF files via Adobe Acrobat's internal javascript editor... The problem I am facing is that if I need to udpate a link in the javascript, I have to update the same link in about 50 different PDFs as they all use the same menu structure but the javascripts that control the drop down menus exist separately in each PDF. Instead of doing it this way, I would like to call 1 external .js file from each PDF, but as the Adobe javascript editor does not allow you to edit what is in the <script></script> tags, you can't add the usual SRC= reference.
Is there any way to call an external .js file without having to include it in the <script> tag? Perhaps some sort of load() function? I am not well versed in Javascript so any coding assistance would be greatly appreciated.
Thanks for all your help in advance!
|