%URL meta-HTML element
Syntax
%URL(URLIdentifier [, NOENCODE | ENCODE | DESCR])
Description
The %URL meta-HTML function finds the URL specified by URLIdentifier and substitutes its value. The URLIdentifier must already exist and have been created using URL Maintenance.
Note:
This function is valid for use in auxiliary JavaScript files.
Parameters
| Parameter | Description |
|---|---|
|
URLIdentifier |
Specify a URL Identifier for a URL that already exists and was created using the URL Maintenance page. |
|
NOENCODE | ENCODE | DESCR |
Specify any encoding or other processing to be done with the URL. ENCODE is the default value. If you specify ENCODE, special characters in the URL are encoded using standard URL encoding rules, that is, blanks are replaced with %20, and so on. If you specify NOENCODE, no encoding is done with the URL. If you specify DESCR, the description from the URL definition is used instead of the URL itself. |
Example
<a href='%URL(homepage)'>%URL(homepage, DESCR)</a>
Related Topics