.. include:: /Includes.rst.txt
.. _typo3-fluid-link-external:
=============
link.external
=============
A ViewHelper for creating links to external targets.
Examples
========
Default
-------
::
external link
Output::
external link
Custom default scheme
---------------------
::
external ftp link
Output::
external ftp link
Arguments
=========
.. _link.external_additionalattributes:
additionalAttributes
--------------------
:aspect:`DataType`
mixed
:aspect:`Required`
false
:aspect:`Description`
Additional tag attributes. They will be added directly to the resulting HTML tag.
.. _link.external_data:
data
----
:aspect:`DataType`
mixed
:aspect:`Required`
false
:aspect:`Description`
Additional data-* attributes. They will each be added with a "data-" prefix.
.. _link.external_uri:
uri
---
:aspect:`DataType`
string
:aspect:`Required`
true
:aspect:`Description`
The URI that will be put in the href attribute of the rendered link tag
.. _link.external_defaultscheme:
defaultScheme
-------------
:aspect:`DataType`
string
:aspect:`Default`
'http'
:aspect:`Required`
false
:aspect:`Description`
Scheme the href attribute will be prefixed with if specified $uri does not contain a scheme already
.. _link.external_class:
class
-----
:aspect:`DataType`
string
:aspect:`Required`
false
:aspect:`Description`
CSS class(es) for this element
.. _link.external_dir:
dir
---
:aspect:`DataType`
string
:aspect:`Required`
false
:aspect:`Description`
Text direction for this HTML element. Allowed strings: "ltr" (left to right), "rtl" (right to left)
.. _link.external_id:
id
--
:aspect:`DataType`
string
:aspect:`Required`
false
:aspect:`Description`
Unique (in this file) identifier for this HTML element.
.. _link.external_lang:
lang
----
:aspect:`DataType`
string
:aspect:`Required`
false
:aspect:`Description`
Language for this element. Use short names specified in RFC 1766
.. _link.external_style:
style
-----
:aspect:`DataType`
string
:aspect:`Required`
false
:aspect:`Description`
Individual CSS styles for this element
.. _link.external_title:
title
-----
:aspect:`DataType`
string
:aspect:`Required`
false
:aspect:`Description`
Tooltip text of element
.. _link.external_accesskey:
accesskey
---------
:aspect:`DataType`
string
:aspect:`Required`
false
:aspect:`Description`
Keyboard shortcut to access this element
.. _link.external_tabindex:
tabindex
--------
:aspect:`DataType`
integer
:aspect:`Required`
false
:aspect:`Description`
Specifies the tab order of this element
.. _link.external_onclick:
onclick
-------
:aspect:`DataType`
string
:aspect:`Required`
false
:aspect:`Description`
JavaScript evaluated for the onclick event
.. _link.external_name:
name
----
:aspect:`DataType`
string
:aspect:`Required`
false
:aspect:`Description`
Specifies the name of an anchor
.. _link.external_rel:
rel
---
:aspect:`DataType`
string
:aspect:`Required`
false
:aspect:`Description`
Specifies the relationship between the current document and the linked document
.. _link.external_rev:
rev
---
:aspect:`DataType`
string
:aspect:`Required`
false
:aspect:`Description`
Specifies the relationship between the linked document and the current document
.. _link.external_target:
target
------
:aspect:`DataType`
string
:aspect:`Required`
false
:aspect:`Description`
Specifies where to open the linked document