====In-Line Comments====
It can be useful for multiple authors to be able to leave notes & comments for each other within the body of text (this happens in various word processors for example). This action is a simple commenting system that allows authors to leave notes within the body of the text. I've also modified the file (colours & indicator letter) to provide in-line "Help" information.
This action takes advantage of the //wonderful// little tooltip script written by Walter Zorn and available at http://www.walterzorn.com/tooltip/tooltip_e.htm
Place the tooltip script (with it's original name wz_tooltip.js) in the wiki root in a directory called ##scripts##. Make sure to copy the .htaccess file from eg. the action folder to prevent RewriteRules from applying, or see http://wush.net/trac/wikka/browser/branches/1.1.6.2/css/.htaccess
Place the following code, in a file called tag.php, in the ##actions## directory...
%%(php)
T';
echo "";
?>
%%
I've modified and updated this handy gadget to work with Walter Zorn's latest tooltip v5.31 (the tag.php v1.0 above only works with the older tooltip version 3.45), and also added a link parameter so that clicking on the tag leads to a page that can be referenced in the tooltip. Playing around with the settings in wz_tooltip.js is worth it to make the tooltip look the way you like it.
%%(php)
Href("",$tag,"");
echo '' . $name . '';
echo "";
?>
%%
/AxelMulder
----
CategoryUserContributions