Difference between revisions of "JHtmlBehavior::tooltip"
From Joomla! Documentation
(Updated to r1448:247ba8d88526) |
m (preparing for archive only) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
Add unobtrusive javascript support for a hover tooltips. | Add unobtrusive javascript support for a hover tooltips. | ||
− | + | ||
− | + | ||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
public static function tooltip ( | public static function tooltip ( | ||
Line 36: | Line 34: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JHtmlBehavior::tooltip source code''' on [[jplatform:html/html/behavior.php#cl-206|BitBucket]] | * {{JVer|11.1}} '''JHtmlBehavior::tooltip source code''' on [[jplatform:html/html/behavior.php#cl-206|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JHtmlBehavior | + | * {{JVer|11.1}} Class [[API17:JHtmlBehavior|JHtmlBehavior]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Html | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Html|Html]] |
− | * [[JHtmlBehavior::tooltip|Other versions of JHtmlBehavior::tooltip]] | + | * [[API17:JHtmlBehavior::tooltip|Other versions of JHtmlBehavior::tooltip]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JHtmlBehavior::tooltip | category=JHtmlBehavior::tooltip | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Line 54: | Line 50: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:11, 24 March 2017
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JHtmlBehavior::tooltip[edit]
Description[edit]
Add unobtrusive javascript support for a hover tooltips.
public static function tooltip (
$selector='.hasTip'
$params=array
)
Parameter | Type | Default | Description |
---|---|---|---|
$selector | '.hasTip' | ||
$params | array() |
- Returns
- Defined on line 214 of libraries/joomla/html/html/behavior.php
See also[edit]
- JHtmlBehavior::tooltip source code on BitBucket
- Class JHtmlBehavior
- Subpackage Html
- Other versions of JHtmlBehavior::tooltip
User contributed notes[edit]
Code Examples[edit]