API17:JHtmlBehavior
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
m (→User contributed notes: bad link repair) |
||
| (One intermediate revision by one user not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
| + | =={{JVer|11.1}} JHtmlBehavior== | ||
| + | ===Description=== | ||
| + | {{Description:JHtmlBehavior}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JHtmlBehavior|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JHtmlBehavior|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
| + | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
| + | |public static | ||
|[[JHtmlBehavior::calendar/11.1|calendar]] | |[[JHtmlBehavior::calendar/11.1|calendar]] | ||
|Add unobtrusive javascript support for a calendar control. | |Add unobtrusive javascript support for a calendar control. | ||
|- | |- | ||
| + | |public static | ||
|[[JHtmlBehavior::caption/11.1|caption]] | |[[JHtmlBehavior::caption/11.1|caption]] | ||
|Add unobtrusive javascript support for image captions. | |Add unobtrusive javascript support for image captions. | ||
|- | |- | ||
| + | |public static | ||
|[[JHtmlBehavior::combobox/11.1|combobox]] | |[[JHtmlBehavior::combobox/11.1|combobox]] | ||
| − | |Add unobtrusive javascript support for a | + | |Add unobtrusive javascript support for a combobox effect. |
|- | |- | ||
| + | |public static | ||
|[[JHtmlBehavior::formvalidation/11.1|formvalidation]] | |[[JHtmlBehavior::formvalidation/11.1|formvalidation]] | ||
|Add unobtrusive javascript support for form validation. | |Add unobtrusive javascript support for form validation. | ||
|- | |- | ||
| + | |public static | ||
|[[JHtmlBehavior::framework/11.1|framework]] | |[[JHtmlBehavior::framework/11.1|framework]] | ||
| − | |Method to load the | + | |Method to load the MooTools framework into the document head. |
|- | |- | ||
| + | |public static | ||
|[[JHtmlBehavior::keepalive/11.1|keepalive]] | |[[JHtmlBehavior::keepalive/11.1|keepalive]] | ||
|Keep session alive, for example, while editing or creating an article. | |Keep session alive, for example, while editing or creating an article. | ||
|- | |- | ||
| + | |public static | ||
|[[JHtmlBehavior::modal/11.1|modal]] | |[[JHtmlBehavior::modal/11.1|modal]] | ||
|Add unobtrusive javascript support for modal links. | |Add unobtrusive javascript support for modal links. | ||
|- | |- | ||
| + | |public static | ||
|[[JHtmlBehavior::mootools/11.1|mootools]] | |[[JHtmlBehavior::mootools/11.1|mootools]] | ||
|Deprecated. | |Deprecated. | ||
|- | |- | ||
| + | |public static | ||
|[[JHtmlBehavior::noframes/11.1|noframes]] | |[[JHtmlBehavior::noframes/11.1|noframes]] | ||
|Break us out of any containing iframes. | |Break us out of any containing iframes. | ||
|- | |- | ||
| + | |public static | ||
|[[JHtmlBehavior::switcher/11.1|switcher]] | |[[JHtmlBehavior::switcher/11.1|switcher]] | ||
|Add unobtrusive javascript support for submenu switcher support in Global Configuration and System Information. | |Add unobtrusive javascript support for submenu switcher support in Global Configuration and System Information. | ||
|- | |- | ||
| + | |public static | ||
|[[JHtmlBehavior::tooltip/11.1|tooltip]] | |[[JHtmlBehavior::tooltip/11.1|tooltip]] | ||
|Add unobtrusive javascript support for a hover tooltips. | |Add unobtrusive javascript support for a hover tooltips. | ||
|- | |- | ||
| + | |public static | ||
|[[JHtmlBehavior::tree/11.1|tree]] | |[[JHtmlBehavior::tree/11.1|tree]] | ||
|Add unobtrusive javascript support for a collapsible tree. | |Add unobtrusive javascript support for a collapsible tree. | ||
|- | |- | ||
| + | |public static | ||
|[[JHtmlBehavior::uploader/11.1|uploader]] | |[[JHtmlBehavior::uploader/11.1|uploader]] | ||
|Add unobtrusive javascript support for the advanced uploader. | |Add unobtrusive javascript support for the advanced uploader. | ||
|- | |- | ||
| + | |protected static | ||
|[[JHtmlBehavior::_calendartranslation/11.1|_calendartranslation]] | |[[JHtmlBehavior::_calendartranslation/11.1|_calendartranslation]] | ||
|Internal method to translate the JavaScript Calendar. | |Internal method to translate the JavaScript Calendar. | ||
|- | |- | ||
| + | |protected static | ||
|[[JHtmlBehavior::_getJSObject/11.1|_getJSObject]] | |[[JHtmlBehavior::_getJSObject/11.1|_getJSObject]] | ||
|Internal method to get a JavaScript object notation string from an array. | |Internal method to get a JavaScript object notation string from an array. | ||
|- | |- | ||
|} | |} | ||
| + | * '''Defined in''' libraries/joomla/html/html/behavior.php | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.html.html.behavior' );</source> | <source lang="php">jimport( 'joomla.html.html.behavior' );</source> | ||
===See also=== | ===See also=== | ||
| − | * JHtmlBehavior source code | + | * {{JVer|11.1}} '''JHtmlBehavior source code''' on [[jplatform:html/html/behavior.php|BitBucket]] |
| − | * [[JHtmlBehavior|Other versions of | + | * {{JVer|11.1}} Subpackage [[Subpackage Html/11.1|Html]] |
| + | * [[JHtmlBehavior|Other versions of JHtmlBehavior]] | ||
{{SeeAlso:JHtmlBehavior}} | {{SeeAlso:JHtmlBehavior}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JHtmlBehavior|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JHtmlBehavior|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | === | + | ===User contributed notes=== |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 80: | Line 93: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
| − | <noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JHtmlBehavior]]</noinclude> | + | <noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JHtmlBehavior]]</noinclude> |
Revision as of 13:51, 29 August 2012
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JHtmlBehavior
Description
Description:JHtmlBehavior [Edit Descripton]
Methods
| Visibility | Method name | Description |
|---|---|---|
| public static | calendar | Add unobtrusive javascript support for a calendar control. |
| public static | caption | Add unobtrusive javascript support for image captions. |
| public static | combobox | Add unobtrusive javascript support for a combobox effect. |
| public static | formvalidation | Add unobtrusive javascript support for form validation. |
| public static | framework | Method to load the MooTools framework into the document head. |
| public static | keepalive | Keep session alive, for example, while editing or creating an article. |
| public static | modal | Add unobtrusive javascript support for modal links. |
| public static | mootools | Deprecated. |
| public static | noframes | Break us out of any containing iframes. |
| public static | switcher | Add unobtrusive javascript support for submenu switcher support in Global Configuration and System Information. |
| public static | tooltip | Add unobtrusive javascript support for a hover tooltips. |
| public static | tree | Add unobtrusive javascript support for a collapsible tree. |
| public static | uploader | Add unobtrusive javascript support for the advanced uploader. |
| protected static | _calendartranslation | Internal method to translate the JavaScript Calendar. |
| protected static | _getJSObject | Internal method to get a JavaScript object notation string from an array. |
- Defined in libraries/joomla/html/html/behavior.php
Importing
jimport( 'joomla.html.html.behavior' );
See also
-
JHtmlBehavior source code on BitBucket
-
Subpackage Html
- Other versions of JHtmlBehavior
SeeAlso:JHtmlBehavior [Edit See Also]
User contributed notes
<CodeExamplesForm />
