Hello -
I am extremely new to javascript. I currently have a project I need to complete in a few days requiring more javascript knowledge than I currently have so I am looking for information or to be pointed in the right direction. I am running a MAC G5 with OS10.4.11. I am using Acrobat Pro 8 but I do not have LiveCycle (don't know why....)
I am looking to take create something similar to an annotation. It would be a button that would contain a mouse over/click event that would display text in small pop up box that autosizes based on the text in the box. Every box would contain different text and I would want to include a link to a website. I would also like to vary the color of the box so I can color code them.
Any help or direction is appreciated.
Thank you
There isn't really anything available that's like what you describe, but several approaches might be:
1. app.alert - This method displays a simple modal dialog that the user must dismiss, which could cause the browser to open a website. No control over color.
2. custom dialog - A fancier modal dialog that the user must dismiss, which could cause the browser to open a website. Limited control over color.
3. Using a tooltip text with a button. If the user clicks the button it could cause the browser to open a website. No control over color.
4. Mousing over or clicking a button causes another (previously hidden) button to display that contains the text and faux link, that when clicked could cause the browser to open a web site. Button icon can be anything a PDF page can be.
George