uShopInputImageButton1_fn.class


The uShopInputImageButton1 applet functions exactly as the other uShopInputButton applets, except this applet allows you to specify any image to be used instead of the regular ADD button. The image can be any .gif or .jpg and can be of any size. There is also an option to specify whether you want a 3-D border around the applet or not.

Parameters
Note 1: Optional parameters are in italics

Note 2: Even though the "name" and "description" fields are limited to 15 and 26 characters, respectively, remember that you can put as large of a name and description as you want on the page with regular HTML - and then just abbreviate the name and description in the applet's parameters.


Example 1 (With 3-D Border)


<APPLET CODE = "uShopInputImageButton1_fn.class" WIDTH=55 HEIGHT=75>
<PARAM NAME=id          VALUE="CND003">
<PARAM NAME=name        VALUE="Chocolate">
<PARAM NAME=description VALUE="Easter Bunny">
<PARAM NAME=price       VALUE="FIM6.00">
<PARAM NAME=weight      VALUE="0.25">
<PARAM NAME=image       VALUE="example_image_button2.gif">
<PARAM NAME=border      VALUE="YES">
<PARAM NAME=popupwindow VALUE="NO">
</APPLET>


Example 2 (Without 3-D Border)


<APPLET CODE = "uShopInputImageButton1_fn.class" WIDTH=60 HEIGHT=80>
<PARAM NAME=id          VALUE="CND005">
<PARAM NAME=name        VALUE="Chocolate">
<PARAM NAME=description VALUE="Chick">
<PARAM NAME=price       VALUE="FIM2.75">
<PARAM NAME=weight      VALUE="0.20">
<PARAM NAME=image       VALUE="example_image_button1.gif">
<PARAM NAME=border      VALUE="NO">
<PARAM NAME=popupwindow VALUE="NO">
</APPLET>