Revision history for InLineComments


Revision [20563]

Last edited on 2009-04-22 16:38:34 by AxelMulder
Additions:
if ($link == '') $link = $this->Href("",$tag,"");
Deletions:
if ($link == '') $link = ' . $this->Href("",$tag,"") . ';


Revision [20562]

Edited on 2009-04-22 10:13:13 by AxelMulder
Additions:
// tag.php v2.0 copyright by Axel Mulder for use in wikka wiki.
// Useage: {{tag comment="This is a brief comment - for more info please go to WikkaPage by clicking on the link of this tag." link="WikkaPage" name="Tag name"}}
if ($name == '') $name = 'Note';
if ($link == '') $link = ' . $this->Href("",$tag,"") . ';
echo '<span onmouseover="Tip(\'' . $comment . '\')" onmouseout="UnTip()"><sup><strong><span class=\'exttail\'><a href=\'' . $link . '\'>' . $name . '</a></span></strong></sup></span>';
Deletions:
// tag.php V2.0 copyright by Axel Mulder for use in wikka wiki.
// Useage: {{tag comment="This is a brief comment - for more info please go to WikkaPage by clicking on the link of this tag." link="WikkaPage"}}
if ($link != '')
echo '<span onmouseover="Tip(\'' . $comment . '\')" onmouseout="UnTip()"><sup><strong><span class=\'exttail\'><a href=\'' . $link . '\'>Note</a></span></strong></sup></span>';
else echo '<span onmouseover="Tip(\'' . $comment . '\')" onmouseout="UnTip()"><sup><strong><span class=\'exttail\'><a href=\'' . $this->Href("",$tag,"") . '\'>Note</a></span></strong></sup></span>';


Revision [20560]

Edited on 2009-04-22 00:56:33 by AxelMulder
Additions:
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
Deletions:
Place the tooltip script (with it's original name wz_tooltip.js) in the wiki root in a directory called ##scripts##.


Revision [20559]

Edited on 2009-04-22 00:55:44 by AxelMulder
Additions:
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.
// tag.php V2.0 copyright by Axel Mulder for use in wikka wiki.
// Useage: {{tag comment="This is a brief comment - for more info please go to WikkaPage by clicking on the link of this tag." link="WikkaPage"}}
// REQUIRES Walter Zorn's wz_tooltip.js v5.31 or higher to be placed in a directory called "scripts" in the wikka root directory
// 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
if ($link != '')
echo '<span onmouseover="Tip(\'' . $comment . '\')" onmouseout="UnTip()"><sup><strong><span class=\'exttail\'><a href=\'' . $link . '\'>Note</a></span></strong></sup></span>';
else echo '<span onmouseover="Tip(\'' . $comment . '\')" onmouseout="UnTip()"><sup><strong><span class=\'exttail\'><a href=\'' . $this->Href("",$tag,"") . '\'>Note</a></span></strong></sup></span>';
echo "<script type=\"text/javascript\" src=\"./scripts/wz_tooltip.js\"></script>";
/AxelMulder


Revision [18600]

Edited on 2008-01-28 00:12:17 by GmBowen [Modified links pointing to docs server]

No Differences

Revision [10702]

The oldest known version of this page was created on 2005-08-15 17:51:58 by GmBowen [Modified links pointing to docs server]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki