Table of Contents

Triggering an action when the mouse pointer hovers over a shape

A shape can be set to perform a particular action when a mouse pointer is hovered over it.

Note
  • For an example, see Ziine > Visual Overview Design Examples view > [data > DRAG AND DROP] page.
  • From DataMiner 9.5.14 onwards, a different hover style can be configured for a shape. See Configuring the hover area of a shape.

Configuring the shape data field

Add two shape data fields to the shape:

  • one of type Element or View, of which you leave the value empty, and
  • one of type HoverTarget, of which you set the value to "TRUE".

This "hover" behavior will often be implemented to take a quick peek at element or service properties.

Note

This feature can only be used with shapes linked to elements, redundancy groups, services and views.

Example of a 'hover target' that visualizes the element name

First, we turn a shape into a "hover target" (i.e. a shape that will visualize data linked to shapes over which we intend to hover) by adding to it the following shape data items:

  • Element: <empty>
  • HoverTarget: TRUE
  • Info: ELEMENT NAME
Note

Do not forget to enter an asterisk ("*") in the shape text.

Then, we make sure that the shapes over which we intend to hover contain valid shape data. In this example, all shapes over which we intend to hover should contain a valid element ID:

  • Element: DmaID/ElementID

    Example: 111/313

When we now hover over a shape with a valid element ID, the text inside the "hover target" will display the name of the element referred to by the element ID specified in the shape data of the shape over which we are hovering.