uShopInputTravel1.class


The uShopInputTravel1 applet is ideal for offering hotel reservations. You can specify different rates for different times of the years via the rates parameter. Notice that the total price automatically gets updated when the dates and/or number of nights change. Also notice that the date will default to today's date.

Parameters
Note: Optional parameters are in italics


Example


<APPLET CODE = "uShopInputTravel1.class" WIDTH=400 HEIGHT=140>
<PARAM NAME=id          VALUE="M0008">
<PARAM NAME=name        VALUE="Motel 8">
<PARAM NAME=nights      VALUE="1">
<PARAM NAME=years       VALUE="1999,2000,2001,2002,2003">
<PARAM NAME=rates       VALUE="01/01/1999@$65.00,
                               04/01/1999@$80.00,
                               07/01/1999@$90.00,
                               07/15/1999@$80.00,
                               10/01/1999@$65.00,
                               11/15/1999@$50.00,
                               12/31/1999@$65.00,
                               04/02/2000@$82.00">
<PARAM NAME=label       VALUE=" ADD ">
<PARAM NAME=textcolor   VALUE="black">
<PARAM NAME=background  VALUE="153,204,255">
<PARAM NAME=popupwindow VALUE="NO">
</APPLET>