<we:a>
Since version: 1.5.2 | Requires endtag: yes
Description
This tag creates a HTML link to an internal webEdition document. Everything between the start and end tags is linked.
Specific
No we:tag is allowed between the start and end tag.
Attributes
id
Default value: - | since version: 1.5.2 | required: yes
Set the value of this attribute to the ID of the document to which you would like to link. To link to the current document set this attribute to "self".
target
Default value: - | since version: 1.5.2 | required: no
Set this attribute to the name of the window or frame in which you want the link to open.
Allowed values:
| Value | Description |
|---|---|
_top | The user agent should load the document into the full, original window (thus canceling all other frames). This value is equivalent to "_self" if the current frame has no parent. |
_parent | The user agent should load the document into the immediate FRAMESET parent of the current frame. This value is equivalent to "_self" if the current frame has no parent. |
_self | The user agent should load the document in the same frame as the element that refers to this target. |
_blank | The user agent should load the designated document in a new, unnamed window. |
confirm
Default value: - | since version: 2.2.0.0 | required: no
If this sttribute is set, a confirmation window will open which needs to be accepted before the link will execute. The text entered here will be displayed as confirmation text in the window.
button
Default value: false | since version: 2.2.0.0 | required: no
If this attribute is set to "true", the link will be displayed as a form button. The text between the start and end tags will be displayed as button text. If this attribute is set to false, the link will appear as a normal link instead of a form button.
Allowed values:
truefalse
hrefonly
Default value: false | since version: 2.2.0.0 | required: no
Setting this attribute to "true" will cause the tag to return the href attribute of the link. Not setting it or setting it to "false" will cause the entire link to be displayed.
Allowed values:
truefalse
class
Default value: - | since version: 2.0 | required: no
Set this attribute to the class name of the CSS style you want to use for the link.
style
Default value: - | since version: 2.0 | required: no
Set this attribute to one or more CSS style definitions. This enables you to influence the look and style of the link without defining a CSS class.
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:a id="attribute" [target="_top|_parent|_self|_blank"] [confirm="attribute"] [button="true|false"] [hrefonly="true|false"] [class="attribute"] [style="attribute"] [cachelifetime="attribute"]> ... </we:a>
Examples
Example #1
<we:a id="100">To the news page</we:a>