Skip to main content

Tootltip

The tooltip attributes allows you to customize the tooltip behavior.

Attributes​

AttributeTypeDefaultDescription
tooltipSTRINGSpecifies the tooltip mode for the element. It can be either empty, no or label

Modes​

ValueDescription
(empty)The default text (or the custom one if defined) is displayed as a tooltip
noNo tooltip is displayed at all
labelThe text is displayed in a text field named "label" in the flash graphic resource
leftThe text is displayed on the left side of the button graphic resource (useful for designing menus)
rightThe text is displayed on the right side of the button graphic resource (useful for designing menus)
topThe text is displayed above the button graphic resource (useful for designing menus)
bottomThe text is displayed below the button graphic resource (useful for designing menus)

Defining a custom tooltip text​

To define a tooltip text for an element, simply put it in a CDATA section, between the opening and closing statements.

This allows you to easily translate the viewer tooltips into your own language, if it is not already available on Calaméo.

Example
<button action="search" upState="myotherskin#btnSearchOn">
<![CDATA[Look for something? Click here]]>
</button>
info

You should consider using the UTF-8 character set.

Scope​

These attributes apply to the following statement: