Archived

Working with Mootools 1.3

From Joomla! Documentation

Revision as of 15:38, 11 January 2011 by Mvangeest (talk | contribs) (Added category)

This page has been archived. This page contains information for an unsupported Joomla! version or is no longer relevant. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 1.6

Joomla 1.6.0 includes Mootools Core 1.3 and Mootools More 1.3.0.1 including all it's modules.

How to use Mootools[edit]

If your extension uses Mootools you can use the following code to include the framework in Joomla's output.

Mootools Core:

JHtml::_('behavior.framework');

Mootools Core and Mootools More:

JHtml::_('behavior.framework', true);

Differences to Mootools 1.1/1.2[edit]

The most important difference between Mootools 1.3 and older versions is, that the $() function is deprecated. Instead document.id() should be used.

More information[edit]

You can find more information, examples and Mootools plug-ins on the Mootools Homepage.