weblinknewwindow(
URL
,
CAPTION
)
The weblinknewwindow( function builds an HTML link tag
Parameters
This function has two parameters:
url – the url for the link (for example http://www.apple.com
).
caption – the caption for the link (for example Apple
). If the caption is not supplied (""
) the URL will be used for the caption.
Description
This function builds an HTML link tag. The link will open the new page in a new browser window instead of in the same window (by adding target="_blank"
to the a
tag).
weblinknewwindow("http://www.provue.com","ProVUE")
☞ <a href="http://www.provue.com" target="_blank">ProVUE</a>
weblinknewwindow("http://123.45.67.89","")
☞ <a href="http://123.45.67.89" target="_blank">http://123.45.67.89</a>
Note: If this function is embedded in a formula in a form, the form will only display the caption, not the url. When the form is rendered on a server, however, the full URL will be generated.
See Also
- cgilink( -- creates a domain independent URL for another CGI action on the same server.
- cgilinknewwindow( -- creates a domain independent link for another CGI action on the same server that opens a new browser window.
- cginavlink( -- creates a domain-independent navigation link for the current record in this database.
- cginavlinknewwindow( -- creates a domain-independent navigation link (to a new browser window) for the current record in this database.
- encodeurlfragment( -- encodes text so that it can be used in the fragment portion of a URL (the portion after the # symbol).
- encodeurlhost( -- encodes text so that it can be used in the host portion of a URL (for example www.host.com).
- encodeurlpassword( -- encodes text so that it can be used in the password portion of a URL.
- encodeurlpath( -- encodes text so that it can be used in the path portion of a URL (the portion after the host name, but before any ? symbol).
- encodeurlquery( -- encodes text so that it can be used in the query portion of a URL (the portion after the ? symbol).
- encodeurluser( -- encodes text so that it can be used in the user name portion of a URL.
- htmldecode( -- converts HTML text into regular text by converting any special HTML entities (`&`, `©`, etc.) into the corresponding characters.
- htmlencode( -- converts standard text into HTML text by converting any special characters into the equivalent HTML entities.
- urldecode( -- decodes text that contains percent encoded characters.
- urlencode( -- converts text into a legal URL (by converting spaces into `%20`). WARNING: THIS FUNCTION IS OBSOLETE.
- webformlink( -- generates a link to a Panorama form on the current web site (the link will open in a new browser window).
- webformlinknewwindow( -- generates a link to a Panorama form on the current web site.
- weblink( -- builds an HTML link tag
History
10.0 | No Change | Carried over from Panorama 6.0 |