Make your own free website on Tripod.com
"); //--- YOUR CGI PROGRAM'S NAME GOES RIGHT BELOW. YOU WOULD REPLACE THE ACTION ATTRIBUTE //--- BELOW THAT SAYS "your_cgi_program" WITH THE ACTUAL NAME OF YOUR PROGRAM. doc.write("
"); doc.write(""); doc.write(""); doc.write("") doc.write("
Store Items: Current Beanies | Retired Beanies | green items
"); doc.write(""); doc.write("") doc.write(""); //------------------------------------- m = aQuant.length - 1; n = m + 1; if(subt == 0) { tot = 0; } //------------------------------------- for (i=0 ; i < n; i++) { if((aQuant[i] != null)&&(aQuant[i] != 0)) { cost = eval(aPrice[i])*eval(aQuant[i]); var description = escape(aDescr[i]); doc.write(""); doc.write(""); doc.write(""); doc.write(""); } } //------------------------------------- doc.write("") doc.write("
Your cart contains the following:
Item Price QuantityCost Remove Item
" + aDescr[i] + "" + AddDecimal(aPrice[i]) + "" + aQuant[i] + "" + AddDecimal(cost) + "REMOVE ITEM
Your subtotal is: " + AddDecimal(subt) + " 
") //------------------------------------- //--- Output the cart item and quantity as hidden form fields to be passed to a CGI program for (i=0 ; i < n; i++) { if((aQuant[i] != null)&&(aQuant[i] != 0)) { doc.write(""); } } //------------------------------------- //--- YOUR CUSTOM FORM FIELDS GO HERE. BE CAREFUL WITH THE SINGLE AND DOUBLE QUOTES. //--- USE SINGLE QUOTES BECAUSE THE DOCUMENT.WRITE IS IN DOUBLE QUOTES ALREADY. //--- In the left frame containing "left.htm" you post this form to your cgi program, //--- which you declared above as part of the action attribute. doc.write("

") doc.write("
") doc.write("") doc.write("") doc.write("") doc.write("") doc.write("") doc.write("") doc.write("") doc.write("") doc.write("") doc.write("") doc.write("") doc.write("") doc.write("") doc.write("") doc.write("") doc.write("") doc.write("") doc.write("") doc.write("
Kindly provide the following information:
Your Name:
Your E-Mail:
Daytime Phone:
Evening Phone:
") doc.write("
") doc.write("
") doc.write("") doc.write("") //------------------------------------- doc.write("
") doc.write("

Copyright © 1997 Ross Online Inc.


") doc.write("

 

"); doc.write(""); doc.close(); } //------- For debugging //----------------------------------------------------------------------------- // -->
Finders Keepers

Finders Keepers