Project | WXT | Basics | Download | Documentation | Samples

PI: demolink

The purpose of a demolink is to produce a XHTML-fragment that links to any webpage. The idea is to produce a link that can be controlled by a stylesheet for media screen and print. You may display a text on the webpage and a complete URL on the printed material.

<?_wxt demolink uri="" text="" style=""?>

The parameters are:

uri (mandatory) The uri we want to link to. This uri is corrected for pathfragments, but is otherwise left as is. That means no addresscorrection. Normally this is an external, absolute uri.
text (optional) The text we want to display. Default is the uri.
style (optional) The style class we want to assign to the link. Default is demo.
title (optional) The title attribute we will use. Default is external link.
target (optional) If we want an show this link in another target. Note that this may result in a validation error, depending on your doctype.

Styleclass(es) describing this PI is: demo, if not set in PI as described above. See distributed std styles.

Examples:

<div>
<?_wxt demolink uri="http://www.ia.hiof.no/" text="Ostfold college" style="mystyle"?>
</div>