image_button

Team-Fly    

 
Webmaster in a Nutshell, 3rd Edition
By Robert Eckstein, Stephen Spainhour
Table of Contents
Chapter 14.  The CGI.pm Module


image_button

 print $query->image_button('  name  ','  url  ' [,'  align  ']) 

Generates a clickable image map.

name

The name to use. When clicked, the x,y position is returned as name.x and name.y , respectively.

url

The URL of the image for the image map.

align

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.


Team-Fly    
Top


Webmaster in a Nutshell
Webmaster in a Nutshell, Third Edition
ISBN: 0596003579
EAN: 2147483647
Year: 2002
Pages: 412

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net