SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 359 | Next

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"


tooltip is used to render a tooltip in relation to an image or a piece of text.
There are six parameters associated with tooltip, of which five are optional.
We will explore the more common uses of these parameters.
The most basic usage of tooltip returns a small information icon, which
onmouseover displays a tooltip; as this example demonstrates:
echo JHTML::_('tooltip', $tooltip);
???
???
Customizing the Page
[ 270 ]
The next parameter allows us to define a title that is displayed at the top of the tooltip:
echo JHTML::_('tooltip', $tooltip, $title);
The next parameter allows us to select an image from the includes/js/
ThemeOffice directory. This example uses the warning.png image:
echo JHTML::_('tooltip', $tooltip, $title, 'warning.png');
The next obvious leap is to use text instead of an image and that is just what the next
parameter allows us to do:
echo JHTML::_('tooltip', $tooltip, $title, null, $text);
There are some additional parameters all of which relate to using
hypertext links.


Pages:
347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6