History: PluginAnchors
Preview of version: 9
Anchors for use in Wiki Pages
DESCRIPTION: These two plugins are used together to make anchors just like on regular HTML pages.
Use the ANAME plugin to put an anchor into a wiki page.
Use the ALINK plugin to make links to the anchor.
A downloadable .zip file is attached to this page. You can click HERE to go straight to the download (there are instructions in a text file in there too).
{ANAME()}
anchorname <--put the name of the anchor here. Use this same name for the aname= parameter in the ALINK plugin (see just below).
{ANAME}
ANAME EXAMPLE: {ANAME()}anchorname{ANAME}
{ALINK(
aname=anchorname <-- put here the name of the anchor you created using the ANAME plugin!
)}
link text <-- put here the text to appear as the link.
{ALINK}
ALINK EXAMPLE: {ALINK(aname=anchorname)}link text{ALINK}
To jump down to the anchor at the bottom of the page click HERE. <-- Here is where I put the ALINK plugin in this page.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Here is a second link to the same anchor at the bottom of the page. Again, I used the ALINK plugin.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
The anchor is here. <-- I put the ANAME plugin at the beginning of this line. Now you can click HERE to jump to the anchor I put at the top of the page (you can't see where that one is unless you look into the page editor 😀)
RFE: WikiSyntax: Anchors in text
PluginA as an alternative for ANAME/ALINK
- It would certainly be nice to get this into CVS, along with mose's changes (see the RFE above).
- Also, to get ((PageName#anchor)) to work so that one can link to an anchor from another wiki page.