HomePage > WikkaMyManual


Meine Wikka Hilfe


Anchor Action

http://wikkawiki.org/AnchorAction

"anchor action"
author: DotMG <m.randimbisoa@dotmg.net>
Parameters :
§ name : name of anchor to set
§ target : name of an anchor to go to
§ text : Text to be displayed on link to anchor, optional
§ title : optional, a code {{anchor target="Sometarget"}} without the parameter text will
display between tags <a> and </a> the value of parameter title, if set, when defining
{{anchor name="Sometarget"}}. (see usage).
§ h3 : Dispaly a <h3></h3> tag after the anchor newly set, all link to that anchor without
the parameter text will have h3 as caption.
§ special : if this parameter is set, its value should be one of "table_of_contents" or "usage"

> parameter name goes with title or h3, should not be used with parameter target.
> parameter target goes with text.

Special use :
. {{anchor special="table_of_contents"}} : Display a list of anchors having the parameter h3 set.
. {{anchor special="usage"}} : Show this help.

Usage :
{{anchor name="top" title="Top of page"}} => <a name="top"></a>
{{anchor target="top"}} => <a href="#top">Top of page</a>
{{anchor target="top" text="Back to top"}} => <a href="#top">Back to top</a>
{{anchor name="paragraph1" h3="Introduction"}} => <a name="paragraph1"></a><h3>Introduction</h3>
{{anchor target="paragraph1"}} => <a href="#paragraph1">Introduction</a>
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki