cginavlinknewwindow(
cginavlinknewwindow(
PROCEDURE
,
CAPTION
)

The cginavlinknewwindow( function creates a domain-independent navigation link (to a new browser window) for the current record in this database.

Parameters

This function has two parameters:

procedure – the procedure being linked to. This must be a procedure in the current database.

caption – caption for the URL. This is the text that the user will see on their web browser.

Description

This function is designed to be used in a CGI routine to create a domain-independent navigation link (to a new browser window) for the current record in this database. The end result is a complete `<a>` tag that can be inserted into the HTML being generated by the current CGI procedure.

    cginavlinknewwindow("edit","Edit Record")
        ☞ <a href="http://site.com//cgi-bin/Panorama.cgi?Catalog~edit~=
            4996" target="_blank">Edit Record</a>

In this result, `4996` is the id number for the current record.

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.
- 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
- weblinknewwindow( -- builds an HTML link tag

History

Version | Status | Notes
10.0 | Updated | Carried over from Panorama 6.0, but now works with non-shared databases (of course, the database must still be on a server).