print $query ->image_button( ' name ',' url ' [ ,' align ' ])
Generates a clickable image map.
The name to use. When clicked, the x,y position is returned as name.x and name.y , respectively.
The URL of the image for the image map.
The alignment type. May be
TOP
,
BOTTOM
, or
MIDDLE
.
Using named parameters, the syntax is:
print $query->image_button(-name=>' name ', -src=>' url ', -align=>' align ', -onClick=> function );
-onClick=>
function
Browser should execute
function
when the user clicks on the image.