The PDF list is a service provided by PDFzone.com | http://www.pdfzone.com
__________________________________________________________________

Thanks Scott,

This looks fantastic though I haven't had a chance to test it yet.

I didn't mean to imply that I didn't want to use JavaScript, only that I
don't know it.

I am studying Java at the moment so the syntax is familiar and I could
probably hack the script in the right in the right places.

I'll give this a try when I get to work later today.

Many thanks for taking the time to reply like this.

thank you!

PS is this code Acrobat version specific? I would like to implement it with
1.3 files initially.

> ----------
> From:         Scott Brenner
> Reply To:     [EMAIL PROTECTED]
> Sent:         Tuesday, August 26, 2003 10:51 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: [PDF] Drop down list type functionality from a standard
> button?
> 
> 
> The PDF list is a service provided by PDFzone.com | http://www.pdfzone.com
> __________________________________________________________________
> 
> Dear Mark,
> 
> I was going to say sure until you said you don't want to use Javascript.
> 
> With Javascript you would have had to:
> a. Put the PDF files in the same folder (or learned path notation).
> b. Create a field (button, or text preferably).
> c. Add the following code to the Mouse Down event of the newly created
> field  (changing <filename> to valid "filename.pdf" for you current
> machine.
> 
> var originalDoc = this;
> var testvar = app.popUpMenu("PDF new file 1","PDF new file 2");
> if (testvar == "PDF new file 1"){
>   app.openDoc(<filename>, this);  // adding the second argument forces
> relative path links
>   originalDoc.closeDoc(false);  // this will cause you to save the
> original file if any changes were made
>   this.pageNum = 0;   // display the page you would like (0 = first page,
> 1 = second page ...)
> }
> if (testvar == "PDF new file 2"){
>   app.openDoc(<filename>, this);  
>   originalDoc.closeDoc(false);
>   this.pageNum = 0;
> }
> 
> Good Luck,
> Sam Brenner
> 
> 
> 
> 
> 
> >>> [EMAIL PROTECTED] 08/25/03 21:32:17 >>>
> 
> The PDF list is a service provided by PDFzone.com | http://www.pdfzone.com
> 
> __________________________________________________________________
> 
> I had such great success with the last question I posted to the list I am
> going to pose a problem I had more or less given up on.
> 
> What I want to do is this:
> Mainly for reasons of lack of space on the appropriate pages of many pdfs
> we
> need to use something like a combo box that goes to appropriate pages in
> the
> same and other pdfs. The twist being that the combo box in a non roll over
> state needs to just be a normal looking button icon. There is no space for
> the full menu to appear as it will obscure other content.
> 
> Ie on screen in a non rollover state it just looks like a round red aqua
> style button. When rolled over the combo box like menu options are
> revealed
> and the user clicks on the appropriate menu listing and then is taken to
> that page. 
> 
> For example the drop down box would offer: same doc page 10, different doc
> a
> page 23, different doc b page 12, another doc etc. in  its menu and
> selecting one would go to that destination. 
> 
> I can't see any way of approximating this behaviour without reverting to
> JavaScript which I know nothing about.
> 
> Any suggestions would be gladly received. As I said, I had given up on
> this
> one so there is no harm in trying.
> 
> cheers
> 
> Mark
> 
> To change your subscription:
> http://www.pdfzone.com/discussions/lists-pdf.html 
> 
> 
> 
> To change your subscription:
> http://www.pdfzone.com/discussions/lists-pdf.html
> 
> 

To change your subscription:
http://www.pdfzone.com/discussions/lists-pdf.html

Reply via email to