Client side of the template based on «Twitter Bootstrap». On this section you will find examples of how to use the basic styles of «Twitter Bootstrap» and other styles, with help of which you will be able to design and make almost any interested you website page. In this template, we have also added a number of styles and advanced features that make the «Precise» very flexible template that is suitable for all business tasks.
Examples
Inspired by the excellent jQuery.tipsy plugin written by Jason Frame; Tooltips are an updated version, which don't rely on images, use CSS3 for animations, and data-attributes for local title storage.
For performance reasons, the tooltip and popover data-apis are opt in, meaning you must initialize them yourself.
Hover over the links below to see tooltips:
«Itembridge» сompany became famous among thousands of visitors and purchasers of the most known online resource copyright works during the short period of its existence. «Itembridge» offers a number of creative products such as: online stores templates, one page promo sites, graphic works and corporate style for the wide audience. The company owes its success to the friendly team of professionals, who create exclusive designs, unique and clear functionality of the templates. Corporate style and graphic works always have the perfect design so you do not have to change a lot of settings to achieve the desired style.
When using tooltips and popovers with the Bootstrap input groups, you'll have to set the container (documented below) option to avoid unwanted side effects.
Usage
Trigger the tooltip via JavaScript:
$('#example').tooltip(options)
Options
Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-, as in data-animation="".
Name
type
default
description
animation
boolean
true
apply a css fade transition to the tooltip
html
boolean
false
Insert html into the tooltip. If false, jquery's text method will be used to insert content into the dom. Use text if you're worried about XSS attacks.
placement
string | function
'top'
how to position the tooltip - top | bottom | left | right
selector
string
false
If a selector is provided, tooltip objects will be delegated to the specified targets.
title
string | function
''
default title value if `title` tag isn't present
trigger
string
'hover focus'
how tooltip is triggered - click | hover | focus | manual. Note you case pass trigger mutliple, space seperated, trigger types.
delay
number | object
0
delay showing and hiding the tooltip (ms) - does not apply to manual trigger type
If a number is supplied, delay is applied to both hide/show
Object structure is: delay: { show: 500, hide: 100 }
container
string | false
false
Appends the tooltip to a specific element container: 'body'
Heads up! Options for individual tooltips can alternatively be specified through the use of data attributes.
Markup
<a href="#" data-toggle="tooltip" title="first tooltip">hover over me</a>
Methods
$().tooltip(options)
Attaches a tooltip handler to an element collection.
.tooltip('show')
Reveals an element's tooltip.
$('#element').tooltip('show')
.tooltip('hide')
Hides an element's tooltip.
$('#element').tooltip('hide')
.tooltip('toggle')
Toggles an element's tooltip.
$('#element').tooltip('toggle')
.tooltip('destroy')
Hides and destroys an element's tooltip.
$('#element').tooltip('destroy')
Newsletter Sign Up
Proin rutrum mattis libero, nec imperdie ipsum vel justo facilisis sed.