uShopInputTravel2.class


The uShopInputTravel2 applet is ideal for offering hotel reservations. You can use the rates parameter to specify different rates based on the time of the year and the occupancy. Notice that the total price automatically gets updated when the dates, occupancy 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 = "uShopInputTravel2.class" WIDTH=420 HEIGHT=180>
<PARAM NAME=id          VALUE="H10356">
<PARAM NAME=name        VALUE="Holiday Inn">
<PARAM NAME=nights      VALUE="1">
<PARAM NAME=years       VALUE="1999,2000,2001,2002,2003">
<PARAM NAME=rates       VALUE="01/01/1999=$65.00,$45.00,$35.00;
                               04/01/1999=$80.00,$70.00,$60.00;
                               07/01/1999=$90.00,$80.00,$70.00;
                               07/15/1999=$80.00,$70.00,$60.00;
                               10/01/1999=$65.00,$45.00,$35.00;
                               11/15/1999=$50.00,$40.00,$30.00;
                               12/31/1999=$65.00,$45.00,$35.00;
                               04/02/2000=$82.00,$72.00,$62.00">
<PARAM NAME=label       VALUE=" ADD ">
<PARAM NAME=textcolor   VALUE="black">
<PARAM NAME=background  VALUE="153,204,255">
<PARAM NAME=popupwindow VALUE="NO">
</APPLET>