G Web Server Examples

Calling CGIs From Image Maps

The following image uses a server-side image map that refers to the CGI /cgi-bin/examples/imapcgi.vi. Clicking on the image sends a request to the CGI passing the coordinates of the click as the query string. The imapcgi.vi CGI generates a document specifying the coordinates of the click.

The HTML code for the image is:

<A HREF="/cgi-bin/examples/imapcgi.vi">
<IMG SRC="../images/imap.gif" BORDER="0" ISMAP>
</A>




© National Instruments