Shortcodes and HTML Classes
[docy_tooltip] shortcode
Summary: This documentation explains how to use the `[docy_tooltip]` shortcode on your site. You can assign unique IDs, specify tooltip content, and enhance your website with interactive Docy tooltips.
The docy_tooltip shortcode is designed to enable the creation of tooltips within your website content. Tooltips are small pop-up windows that appear when users hover over a specified area, providing additional information or context. This documentation outlines how to effectively utilize the docy_tooltip shortcode.
Syntax
The syntax for using the docy_tooltip shortcode is as follows:
[docy_tooltip id="(Id number like 1,2,3)" content="write your content here."] Tooltip Text [/docy_tooltip]
- id: This attribute specifies a unique identifier for the tooltip. It should be a numerical value (e.g., 1, 2, 3).
- content: This attribute represents the content that will be displayed within the tooltip when triggered. It should be enclosed within double quotation marks
Usage Example
Below is an example of how to use the docy_tooltip shortcode:
[docy_tooltip id="1)" content="This is additional information about the Tooltip Text."] Hover me for more info [/docy_tooltip]
Hover me for more info