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
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). |