Reference Guide

Adobe Acrobat PDF Lampshade 1.2 Reference (PDF)

form.inc.php - Form Functions

button

Required Parameters: string $button
Optional Parameters: string $alt, string $onClick, int $width, int $height
Returns: None
Description: This function generates a HTML form input of type "image" that submits the form in which it is contained. The name of the .gif file used for the button is given by the $button variable, and the file itself is assumed to be in the buttons sub-directory of the shared directory, which has a path given by $_SESSION['shared]. The width and height of the button are assumed to be 80 pixels and 20 pixels, respectively. An alternate text description can be specified by $alt, and a JavaScript onClick event can be specified in $onClick.

function button($button, $alt = '', $onClick = '', $width = 80, $height = 20)

Copyright © 2001-2010 Think Computer Corporation. All Rights Reserved. Patent pending.

Authors of the impossible.™
Think