uShopInputButton1_sp.class
The uShopInputButton1 applet is a fixed-size 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. 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.
Parameters
- id - A unique id for the product. Can be up to 8 characters.
- name - The name for the product. Can be up to 15 characters.
- description - A brief description of the product. Can be up to 26 characters.
- price - The price of the product.
- weight - The weight of the product. You only need to specify this if you
are using weight to calculate shipping. The default value is "0".
- background - The background color of the applet. You can specify an
RGB value separated by commas ("integer,integer,integer" where
each integer is a value between 0 and 255) or specify one of
the predefined colors: white, black, lightGray, gray, darkGray,
red, green, blue, yellow, magenta, cyan, pink, and orange. The
default value is "white".
- popupwindow - This parameter lets you specify whether you want a pop-up window
to be displayed each time an item is added to the shopping cart. This
pop-up window is useful if the store does not use FRAMES and does not
always display the shopping cart. Set this parameter to "YES" if you
want the pop-up window displayed.
Note: Optional parameters are in italics
Example
<APPLET CODE = "uShopInputButton1_sp.class" WIDTH=110 HEIGHT=35>
<PARAM NAME=id VALUE="B00001">
<PARAM NAME=name VALUE="Romeo & Juliet">
<PARAM NAME=description VALUE="hard cover">
<PARAM NAME=weight VALUE="1">
<PARAM NAME=price VALUE="Ptas 19.95">
<PARAM NAME=background VALUE="153,204,255">
<PARAM NAME=popupwindow VALUE="NO">
</APPLET>