Templates: Junecode: link

This documentation was updated on Wednesday, April 15, 2009 at 5:50 AM

Inserts a smart link to the specified file. If the file is an image, it will open in a popup window. Other files will simply open normally. If the file does not exists, no link is created.

Attributes

href: the path to the file, relative to the site’s home directory.
popup: true or false. true will open a popup window for images. default is true.
emptytext: true or false. true will show the contents even if the link is missing. default is true.
other arguments are simply passed along as part of the <a> tag

Example

<junecode:link href="downloads/junecode_manual.pdf" title="Junecode Manual, 200K PDF">check out the manual</junecode:link>

Changes

The attributes popup and emptytext were added as of Junecode 3.0.

You are here: Junecode: about: design templates: junecode: link
This site was created with Junecode. Copyright © 2010–2023 Junecloud LLC.