Register New Class For Tooltip Behaviour

22.05.2009 | Joomla

This code registers class 'smoothbox' for Joomla's built-in tooltip behaviour: JHTML::_('behavior.tooltip','.smoothbox'); $tooltips = true; It produces the following html output: <script type

This code registers class 'smoothbox' for Joomla's built-in tooltip behaviour:


JHTML::_('behavior.tooltip','.smoothbox'); 

 $tooltips = true;

It produces the following html output:


 <script type="text/javascript">
  window.addEvent('domready', function(){ var JTooltips = new Tips($$('.smoothbox'), { maxTitleChars: 50, fixed: false}); });
  </script>

Analyse

Entwurf

Development

Launch