Forum Moderators: open
function buy()
{
var mat=document.veilopts.illusion.value;
var length1=document.veilopts.tier1.value;
var length2=document.veilopts.tier2.value;
var length3=document.veilopts.tier3.value;
var trim=document.veilopts.edge.value;
var motif=document.veilopts.fill.value;
var calcveil1=length1 + length2 + length3
var sOrder = "https://www.paypal.com/cart/add=1&business=m00n106%40aol.com&item_name=Veil w/"+mat+"bridal illusion and "+trim+" edge. Tier 1 is "+length1+" long. Tier 2 is "+length2+" long. Tier 3 is "+length3+" long. Illusion motif selected:"+motif+"&item_number=&amount="+ calcveil1;
alert(sOrder);
window.open(sOrder,'cartwin','width=600,height=400,scrollbars,location,resizable,status');
}
var calcveil1=(length1 * 1) + (length2 * 1) + (length3 *1)
as I said there is probably something better but this works well.
(edited by: jatar_k at 8:56 pm (utc) on May 3, 2002)