PHP Classes

File: modules/system/assets/ui/docs/tooltip.md

Recommend this page to a friend!
  Packages of Luke Towers   Winter   modules/system/assets/ui/docs/tooltip.md   Download  
File: modules/system/assets/ui/docs/tooltip.md
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: Winter
Content management system that uses MVC
Author: By
Last change:
Date: 7 months ago
Size: 780 bytes
 

Contents

Class file image Download

Tooltips

Tooltips are an alternative to the standard browser title tooltip.

Tooltip markup

A standard tooltip

<div class="tooltip fade top in">
    <div class="tooltip-arrow"></div>
    <div class="tooltip-inner">Create a new blog post based on this</div>
</div>

Spawning tooltips

Tooltips can be automatically created when the mouse enters an element using the data-toggle="tooltip" tag.

<a
    href="javascript:;"
    data-toggle="tooltip"
    data-placement="left"
    data-delay="500"
    title="Tooltip content">
    Some link
</a>

Example

<div class="tooltip fade top in">
    <div class="tooltip-arrow"></div>
    <div class="tooltip-inner">Create a new blog post based on this</div>
</div>