Creating an action hotspot
About this task
In Notes®, an action hotspot completes a programmed task using simple actions, formulas, LotusScript®, JavaScript™, or Common JavaScript™. Use Common JavaScript™ so that the action hotspot can be used in both a Web browser and the Notes® client.
Procedure
- Open the form, subform, or page on which you want to add the action hotspot.
- Select text or an image to associate with the action hotspot.
- Choose Create - Hotspot - Action Hotspot.
- On the Hotspot Info tab of the Action HotSpot Properties box, specify the frame in which you want the data to display when the user clicks the link hotspot. You can also choose to have a border appear around the hotspot.
- Optional: On the Hide When tab, specify when to hide the hotspot.
- In the Info List, click Objects and select the action you just created.
- Program the action hotspot to run one of the client or
one of the Web program code types by choosing either Client or Web
at the Run pull-down list.
Choose Client when the automated task will run in the Notes® client. You can then select one of the following Client code options:
Choose Web when the automated task will run in a Web browser. You can then select one of the following Web code options:
- Save the form, subform, or page.