Link Element Element

Getting Started | API | Elements | Actions | Validators | Handlers | About

Table of Contents

1 Link Element - #link{}

The link element produces a clickable hyperlink. Depending on its settings, the link can either function as a normal client-side hyperlink, or can cause a Nitrogen postback.

1.1 Usage

#link { text="Example Hyperlink", url="http://nitrogenproject.com" },
#link { text="Example Postback Link", postback=link_clicked }
#link { body=#image { image="path/to/image.gif" }, postback=link_clicked}

1.2 Attributes

text - (string)
The text to display.
body - (Nitrogen elements)
Instead of text, specify one or more Nitrogen elements (such as an #image) to wrap in a link.
html_encode - (boolean)
Set to true to safely html-encode the link's title.
url - (string)
If set, clicking on the link will navigate to this URL.
postback - (Erlang term)
If set, clicking on the link will cause a Nitrogen postback with the supplied term.

Author: Rusty Klophaus (@rklophaus) <>

Date: 2010-06-14 18:35:11 EDT

HTML generated by org-mode 6.33f in emacs 22