uShopInputButton2.class


The uShopInputButton2 applet is a resizable input button. You still specify a product id, name, description, weight and price, but the only thing that appears on the web page is the button. The button will resize to whatever dimensions you set for the applet. This is ideal if you are limited in screen real estate and/or if you don't want to display all of the other product details.
NEW! You can also specify a "label" parameter to change the text on the button from the default "ADD" to whatever you want.

Parameters
Note: Optional parameters are in italics


Example 1


 &ltAPPLET CODE = "uShopInputButton2.class" WIDTH=100 HEIGHT=75>
 &ltPARAM NAME=id          VALUE="B00002">
 &ltPARAM NAME=name        VALUE="Soccer Ball">
 &ltPARAM NAME=description VALUE="size 3">
 &ltPARAM NAME=weight      VALUE="1">
 &ltPARAM NAME=price       VALUE="$ 15.00">
 </APPLET>


Example 2


 &ltAPPLET CODE = "uShopInputButton2.class" WIDTH=350 HEIGHT=35>
 &ltPARAM NAME=id          VALUE="B00003">
 &ltPARAM NAME=name        VALUE="Soccer Ball">
 &ltPARAM NAME=description VALUE="size 4">
 &ltPARAM NAME=weight      VALUE="1">
 &ltPARAM NAME=price       VALUE="$ 20.00">
 &ltPARAM NAME=label       VALUE="ADD">
 </APPLET>


Example 3 (With "LABEL" Set)


 &ltAPPLET CODE = "uShopInputButton2.class" WIDTH=350 HEIGHT=35>
 &ltPARAM NAME=id          VALUE="B00004">
 &ltPARAM NAME=name        VALUE="Soccer Ball">
 &ltPARAM NAME=description VALUE="size 5">
 &ltPARAM NAME=weight      VALUE="1">
 &ltPARAM NAME=price       VALUE="$ 25.00">
 &ltPARAM NAME=label       VALUE="Soccer Ball, Size 5">
 </APPLET>