To load the tooltip generator with the default options, you can simple do the following.
[% USE Tooltip %]
[% USE Tooltip('param', 'value') %]
In Template::Plugin::Tooltip, you just use the loaded plugin directly.
[% Tooltip( 'This is my plain tooltip' ) %]
<a href="#item" [% Tooltip('A tooltip') %]>item</a>
The first param is literal HTML content, and you can provide any additional parameters you want for the tooltip, as you would do create the tooltip directly.
<a href="#item" [% Tooltip('A tooltip', 'bgcolor', 'pink') %]>item</a>
To do this, simple add the following to the end of the page, or to the <head> section of your HTML document.
[% Tooltip() %]
TO BE COMPLETED
Bugs should be submitted via the CPAN bug tracker, located at
For other issues, or commercial enhancement or support, contact the author..
Adam Kennedy <email@example.com>
Thank you to Phase N Australia for permitting the open sourcing and release of this distribution as a spin-off from a commercial project.
Copyright 2004 - 2008 Adam Kennedy.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.