Help:Tooltip

From semantic-mediawiki.org
Table of Contents

The tooltip functionality was re-factored in Semantic MediaWiki 1.8.0Released on 2 December 2012 and compatible with MW 1.17.0 - 1.22.x
(except 1.22.1).
and together with the jquery plugin qtip2 builds the central component for displaying context information.

Tooltip

The tooltip supports a hover like behaviour [such as
hover like behaviour for entities marked ...
] for entities marked with smwttinline (properties etc.) or a persistent like behaviour [such as
persistent like behaviour allowing interactions with ... see Help:Adding tooltips
] allowing interactions with the tooltip for entities marked with smwttpersist.

Configuration

  • Objects marked with smwttinline will adopt a hover like behaviour with no closing button and will automatically hide by crossing over the tooltip border.
  • Warning tooltip will behave in a similar manner as smwttinline marked objects.
  • Service link tooltip will have a closing button and allow interactions until an event will close the tooltip
  • Info tooltip will behave like the a service link tooltip

Styling

Please have a look at ext.smw.tooltip.css for adjustments related to the icons used and for any other related styling isses see style documentation, demos and tips, and implementation samples.

Why qtip2

Tipsy and the jquery UI tooltip allow simple tooltip functionality but when it comes to enhanced user interactions it needs a more comprehensive plug-in that can provide greater flexibility.

Used by

Note

This is a help landing page (fixed as Help:Tooltip), if you change the page name please ensure a proper redirect.