<we:link>
Since version: - | Requires endtag: no
Description
The <we:link> tag creates a single link which can be modified by using the "edit" button. The "name" attribute must not be specified between the <we:linklist> start tag and end tag. The "name" attribute must be specified outside the <we:linklist> tags.
Attributes
name
Default value: - | since version: - | required: no
Set this attribute to a unique name within the webEdition template. If this tag is within a <we:linklist> section, this attribute CANNOT be set.
only
Default value: - | since version: - | required: no
This attribute allows to return single attribut (only="nameOfAttribute") of the link or only the content (only="content") of the link.
Allowed values:
hrefjsstatusjsscrollbarsjsmenubarjstoolbarjsresizablejslocationimg_idtypectypeborderhspacevspacealignaltjsheightjswidthjsposxidtextcontenttitleaccesskeytabindexlangrelobj_idanchorparamstargetjswinjscenterjsposyimg_title
class
Default value: - | since version: - | required: no
Set this attribute to the name of the style you want to use as defined in a CSS-Stylesheet. This attribute is used to define the apperance of the link.
style
Default value: - | since version: - | required: no
Set the value of this attribute to one or more CSS-style definitions. Using this attribute you can define the appearance of the link without defining a style sheet.
text
Default value: - | since version: 4.0 | required: no
Use this attribute to change the default link text. If the attribute "imageid" is set, this attribute is not used.
xml
Default value: - | since version: - | required: no
Setting this attribute to "true" generates code conforming to the XHTML standard. Leaving it unset or setting it to "false" generates HTML code.
Allowed values:
truefalse
id
Default value: - | since version: 4.0 | required: no
The attribute "id" defines a standard link target. If this attribute isn't set, there will not be a default link defined.
imageid
Default value: - | since version: 4.0 | required: no
A standard link image can be defined with this attribute. If this attribute isn't set, the value of the attribute "text" is used.
cachelifetime
Default value: 0 | since version: 4.2.0.0 | required: no
With this attribute you define the validity of the Cache in seconds for this we:Tag. This attribute is used only if cache type defined in the template is we:Tag Cache or Cache is disabled.
Syntax
<we:link [name="attribute"] [only="href|jsstatus|jsscrollbars|jsmenubar|jstoolbar|jsresizable|jslocation|img_id|type|ctype|border|hspace|vspace|align|alt|jsheight|jswidth|jsposx|id|text|title|accesskey|tabindex|lang|rel|obj_id|anchor|params|target|jswin|jscenter|jsposy|img_title"] [class="attribute"] [style="attribute"] [text="attribute"] [xml="true|false"] [id="attribute"] [imageid="attribute"] [cachelifetime="attribute"] />