Hi All,
I'm new at acrobat and javascript. I am trying to launch a webpage from a pdf button. I want the browser to be without toolbars and at 800*600. Is there anyway to do this using javascript? I have learnt that window.open() does not work from acrobat.
Actually I'm not particular about javascript...any solution is ok as long as I can open the page in an 800*600 window, without toolbar/menus. I thought this would be simple...maybe I am missing something.
Thanks for any help.
-Jake
For example, Acrobat runs Acrobat JavaScript, not browser JavaScript. But the URL:
javascript:window.open("http://www.pdfscripting.com","Blank", "height=600,width=800");
will cause the browser to run JavaScript. Unfortunately Acrobat is very touchy about what's passed in an URL. This code may or may not work, depending on the user's specific setup. A better methodology is to navigate directly to a web page.
Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script