uShopInputText1_se.class
The uShopInputText1 applet allows the customer to enter up to
26 characters of text that is to be associated with a product. This
is ideal for personalized items that need a short message, name, or
other insignia.
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.
- label - This parameter allows you to configure the label next to
the text entry box.
- price - The price per each unit bought.
- showprice - This parameter allows you to specify whether to show the
price on the applet or not. That is, to save horizontal
realestate, you may wish to set this parameter to "NO". The
default value is "YES".
- quantity - The default quantity to be displayed in the quantity entry box.
- 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".
- textcolor - The color of the applet's text. 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 "black".
- 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 = "uShopInputText1_se.class" WIDTH=490 HEIGHT=35>
<PARAM NAME=id VALUE="T00001">
<PARAM NAME=name VALUE="Bracelet">
<PARAM NAME=label VALUE="monogram: ">
<PARAM NAME=weight VALUE="0">
<PARAM NAME=quantity VALUE="1">
<PARAM NAME=price VALUE="SEK 19.95">
<PARAM NAME=showprice VALUE="NO">
<PARAM NAME=textcolor VALUE="black">
<PARAM NAME=background VALUE="153,204,255">
<PARAM NAME=popupwindow VALUE="NO">
</APPLET>