CodeExample:4bcfd994b6e12 From Joomla! Documentation A typical example of loading MooTools // This example depends on mootools JHTML::_('behavior.mootools'); // Do something after page has loaded $document =& JFactory::getDocument(); $document->addScriptDeclaration("window.addEvent('load', function() { doSomething(); })"); Chris Davenport 01:07, 22 April 2010 (EDT) Edit comment Categories: Pages using deprecated source tagsJHTMLBehaviorMootoolsCodeExampleMethodExample