Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib

By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

GBIC >> Source Code >> HTML >> Snippet

Server-side image map


<!--
To be able to click on an image and send the coordinates to the server, as well as calling
the program that processes the coordinates
-->

< a href = "/cgi-bin/coordinate_handler.pl" >< img src = "mypicture.jpg" is map ></ a >

<!--
When a mouse is clicked on the image, the browser sends the coordinates to the
server, requesting the the CGI script 'coordinate_handler.pl' be executed.
-->