Tooltip - Calaméo Knowledge Base
Not a Calaméo member yet?
Sign up now! It's FREE!
Get the latest news on Calaméo
Follow us on Facebook
Get Calaméo updates in real-time
Follow us on Twitter

Tooltip

From Calaméo Knowledge Base

The tooltip attributes allows you to customize the tooltip behavior.

Attribute Default Description
tooltip Specifies the tooltip mode for the element. It can be either empty, no or label

Modes

Value Description
(empty) the default text (or the custom one if defined) is displayed as a tooltip
no no tooltip is displayed at all
label the text is displayed in a text field named "label" in the flash graphic resource.
left the text is displayed on the left side of the button graphic resource (usefull for designing menus)
right the text is displayed on the right side of the button graphic resource (usefull for designing menus)
top the text is displayed above the button graphic resource (usefull for designing menus)
bottom the text is displayed below the button graphic resource (usefull 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 translate easily the viewer tooltips in you 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>
You should consider using the UTF-8 character set.

Scope

These attributes applies to the following statement: