Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision |
en:create:functions:textlink [22.01.2018 14:54] – [Example 2] admin | en:create:functions:textlink [29.09.2020 18:19] – [textlink()] sophia.schauer |
---|
====== textlink() ====== | ====== textlink() ====== |
| |
''string **textlink**(string //textID//, string //label//, [int //width//, int //height//])'' | ''string **textlink**(string //textID//, mixed //label//, [int //width//, int //height//])'' |
| |
It is equally possible to display text (e.g. a lengthy label) in a new window (pop-up), instead of directly in the questionnaire. The text will appear in the same layout as it would in the questionnaire. | It is equally possible to display text (e.g. a lengthy label) in a new window (pop-up), instead of directly in the questionnaire. The text will appear in the same layout as it would in the questionnaire. |
| |
* //textID//\\ ID of the text element to be shown in the pop-up window. | * //textID//\\ ID of the text element to be shown in the pop-up window. |
* //label//\\ Label of the hyperlink that opens the pop-up. | * //label//\\ Label of the hyperlink (text or HTML code) that opens the pop-up. |
| * <string> -- Label independent of the language version |
| * <array> -- Label according to language version. The ID of the language version (e.g. ''"ger"'' or ''"eng"'') is used as the key of the array, the actual label is used as the associated value. |
* //width//\\ Width of the pop-up window in [[:en:glossary#pixel|pixels]] (optional). | * //width//\\ Width of the pop-up window in [[:en:glossary#pixel|pixels]] (optional). |
* //height//\\ Height of the pop-up window in pixels (optional). | * //height//\\ Height of the pop-up window in pixels (optional). |