Using hotspots to complete tasks
Hotspots are associated with text or an image in the body of a document and can complete any of these types of automated tasks:
- Link
Open a Web site, a database, or an element in a database (a page, view, frameset, form, document, folder, or navigator).
- Text pop-up
Display information in a pop-up.
- Button
Complete a programmed task, using simple actions, formulas, LotusScript®, JavaScript™ when the button is used in the Notes® client. In addition, you can code the same button to run JavaScript™ when the button is used in a Web browser.
- Formula pop-up
Complete a programmed task using only formulas, with the results displayed in the pop-up.
- Action hotspot
Complete a programmed task using simple actions, formulas, LotusScript®, or JavaScript™ when the action hotspot is used in the Notes® Client. In addition, you can code the same action hotspot to run JavaScript™ when the action hotspot is used in a Web browser.
When to use hotspots
Create a hotspot in a document when the hotspot is specific to the document. Create a hotspot in a form when every document using that form needs the hotspot.
Examples of hotspots
- Use a document or database link to provide a cross-reference for more information that is stored in a document in other database.
- Use a URL link to cross-reference a Web site for downloading software.
- Use a text pop-up to provide help information about what values to specify in a field.
- Use a button to submit a completed document for processing or add a database to a user's workspace.