posted on June 16, 2002 09:11:16 PM
Thanks... that's very helpful! It did take a long time to set up the zones, but it will be worth it. Too bad most of them fall into Zone 8 for me, way in the northwest corner of the country.
posted on June 16, 2002 09:37:02 PM
I like it BUT when I go to View SOurce I get a message that sayd can not from "notepad" or one or more of it's components.
Can anyone help me out?
I would like to adjust this chart for shipping from 801 zip code.
posted on June 17, 2002 08:01:47 PM
I got my "calculator" working fine. HOWEVER,
eBay is rejecting it and the site I use to schedule launchings is showing it as an error.
In summary, I can't get it to launch through eBay or my launching site.
posted on June 18, 2002 12:05:35 PM
This was easy to do, just time consuming. Remember that if you ship multple weight items, you will need one for each weight.
For those who asked about setting this up, I'd be glad to do it for a small fee due to the time required.
Yahoo mail is not working so I cannot reply to your message at this time. You are missing the table parameters at the top of the file and your "Zone 1" starts with just a "5".
Below is a file I am working on. It is complete except Zone 8. You can use this for a model.
<!-- ############ BEGIN COPY NEXT LINE ############-->
<table style="background-color:yellow;font-size:12px;border:thin solid navy;
font-family:arial;cursor:hand">
<tr>
<td colspan=7>
<script language="JavaScript">
<!--
// Script copyright 2002 Lynn Phillips Associates, San Angelo Texas
// [email protected]. Permission is granted for personal use so long as this
// notice is included.
function getZone(t){ // zone finder function
var z=t.substr(0,3) // we only need the first three characters
if (z.length !=3){ // but must have at least three so..
alert("Please enter a valid zipcode!" // alert the user if not enough chrs
return false // exit after error
}
for(i=1;i<9;i++){ // now loop a counter 1 to 8
if(zone[i].indexOf(z)>=0){ // if the three chr zip is in the table
alert ("Please use the rate for zone "+i) // say the zone number
return true // and exit
}
}
alert ("Please use the rate for zone 8" // catch all for bad zip code is zone 8
}
//-->
</script>
</td>
</tr>
<tr style="background-color:navy;color:yellow">
<td colspan=7 align=center
title="enter your zipcode and click to find your zone">
<form name="frm1">
Enter Zip:
<input type="text" name="zip" style="background-color:white;font-size:13px;width:60px">
<input type=button value="Get Zone" style="background-color:#E0EBEB;font-size:12px;width:60px"
onClick="getZone(frm1.zip.value)">