uShopInputButton2_du.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 "Voeg toe" to whatever you want.
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.
- label - The label which will appear on the button. This can be any
number of characters. The default value is "Voeg toe".
- 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".
- 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 1
<APPLET CODE = "uShopInputButton2_du.class" WIDTH=110 HEIGHT=75>
<PARAM NAME=id VALUE="B00002">
<PARAM NAME=name VALUE="Soccer Ball">
<PARAM NAME=description VALUE="size 3">
<PARAM NAME=weight VALUE="1">
<PARAM NAME=price VALUE="NLG 15.00">
<PARAM NAME=popupwindow VALUE="NO">
</APPLET>
Example 2
<APPLET CODE = "uShopInputButton2_du.class" WIDTH=350 HEIGHT=35>
<PARAM NAME=id VALUE="B00003">
<PARAM NAME=name VALUE="Soccer Ball">
<PARAM NAME=description VALUE="size 4">
<PARAM NAME=weight VALUE="1">
<PARAM NAME=price VALUE="NLG 20.00">
<PARAM NAME=label VALUE="Voeg toe">
<PARAM NAME=popupwindow VALUE="NO">
</APPLET>
Example 3 (With "LABEL" Set)
<APPLET CODE = "uShopInputButton2_du.class" WIDTH=350 HEIGHT=35>
<PARAM NAME=id VALUE="B00004">
<PARAM NAME=name VALUE="Soccer Ball">
<PARAM NAME=description VALUE="size 5">
<PARAM NAME=weight VALUE="1">
<PARAM NAME=price VALUE="NLG 25.00">
<PARAM NAME=label VALUE="Soccer Ball, Size 5">
<PARAM NAME=popupwindow VALUE="NO">
</APPLET>