RE: [iText-questions] Javascript and PDF Anchor

2003-07-11 Thread Leonard Rosenthol
At 9:10 AM +0530 7/11/03, SATHISH Sreedharan wrote: Can you point me to some site where I can find some more documentation on this as this seems to be very interesting and I wud like to know more abt this topic. In the Help menu of Adobe Acrobat 5 (FULL product, not Reader) is the complete Jav

RE: [iText-questions] Javascript and PDF Anchor

2003-07-10 Thread SATHISH Sreedharan
] Javascript and PDF Anchor At 06:05 PM 7/10/2003 +0530, SATHISH Sreedharan wrote: >Now, if my requirement is that i want to display an alert from a pdf, then >is there any way to do this. Use Acrobat JavaScript as the action NOT browser JavaScript (which is what you were

RE: [iText-questions] Javascript and PDF Anchor

2003-07-10 Thread SATHISH Sreedharan
PROTECTED] Sent: Thursday, July 10, 2003 9:25 PM To: SATHISH Sreedharan; [EMAIL PROTECTED] Subject: RE: [iText-questions] Javascript and PDF Anchor At 06:05 PM 7/10/2003 +0530, SATHISH Sreedharan wrote: >Now, if my requirement is that i want to display an alert from a pdf, then >is there a

RE: [iText-questions] Javascript and PDF Anchor

2003-07-10 Thread Leonard Rosenthol
At 06:05 PM 7/10/2003 +0530, SATHISH Sreedharan wrote: Now, if my requirement is that i want to display an alert from a pdf, then is there any way to do this. Use Acrobat JavaScript as the action NOT browser JavaScript (which is what you were doing). app.alert("This is an alert")

RE: [iText-questions] Javascript and PDF Anchor

2003-07-10 Thread SATHISH Sreedharan
To: SATHISH Sreedharan; [EMAIL PROTECTED] Subject: Re: [iText-questions] Javascript and PDF Anchor At 10:41 AM +0530 7/10/03, SATHISH Sreedharan wrote: >c.setAnchor("javascript:onLoad=window.open('http://www.yahoo.com','popup','').focus();void(0);");

Re: [iText-questions] Javascript and PDF Anchor

2003-07-10 Thread Leonard Rosenthol
At 10:41 AM +0530 7/10/03, SATHISH Sreedharan wrote: c.setAnchor("javascript:onLoad=window.open('http://www.yahoo.com','popup','').focus();void(0);"); This shouldn't work at all - esp. with Acrobat 6. The support for the "javascript" URL type was an unfortunate security hole introduced during t

[iText-questions] Javascript and PDF Anchor

2003-07-09 Thread SATHISH Sreedharan
Hi All, I used the following piece of code to open a target URL in a new window. -- Chunk c = new Chunk("anchor", FontFactory.getFont(FontFactory.HELVETICA, 12, Font.UNDERLINE, new Color(0, 0, 255))); c.setAnchor(