<ulink>

JavaScript: lz.ulink
extends <view> » <node> » lz.Eventable »
A class for URL links. This differs from the use of the XHTML <a> attribute, e.g in '<text><a href="http://openlaszlo.org">OpenLaszlo.org</a>lt;/text>', in these ways: - There is a hover effect. (This defaults to underline.) - There is a hover color. (This defaults to blue.) - The link content and target can be databound.
See ulink-test.lzx for additional examples.

Attributes

Name (CSS property) Type (tag) Type (js) Default Category
color color Color blue read/write
  The color when the link is not being hovered.
hoverColor color Color blue read/write
  The color when the link is hovered.
hoverTags string String u read/write
  A list of tags that are applied to the link when it is hovered. This is either a list of tag names, e.g. "u" or "u b", or the HTML itself, e.g. "<u>".
href string String   read/write
  The URL target.
target string String _new read/write
  Where the target opens. See lz.Browser.loadURL for a list of values.
text html lz.html   read/write
  The text of the link.

Methods

makeTags()
ulink.makeTags(tags);
Parameter Name Type Description
tags    

Methods inherited from lz.Eventable

destroy, setAttribute

Events

Events inherited from <node>

onconstruct, ondata, oninit

Events inherited from lz.Eventable

ondestroy