These are the days that I HATE Javascript.
There is something showing up in Chrome that isn't in the source I am uploading for prices.shtml:
// ScopeRollers: ATSPP
ATS
is actually:
// ScopeRollers: ATSPP
ATSPPDeluxe=150;
ATSPPDeluxe5=170;
Something is scrambling this.
I added this to prices.shtml:
// ScopeRollers: CAVX
//CAVXStd=120;
//CAVXDeluxe=150;
//CAVXDeluxe5=170;
//USDelivery=12.35;
//CanadaDelivery=40.95;
//EuropeDelivery=59.95;
//CAVXStdUS=(CAVXStd+USDelivery)*1.03;
//CAVXStdCanada=(CAVXStd+CanadaDelivery)*1.03;
//CAVXStdEurope=(CAVXStd+EuropeDelivery)*1.03;
//CAVXDeluxeUS=(CAVXDeluxe+USDelivery)*1.03;
//CAVXDeluxeCanada=(CAVXDeluxe+CanadaDelivery)*1.03;
//CAVXDeluxeEurope=(CAVXDeluxe+EuropeDelivery)*1.03;
//CAVXDeluxe5US=(CAVXDeluxe5+USDelivery)*1.03;
//CAVXDeluxe5Canada=(CAVXDeluxe5+CanadaDelivery)*1.03;
//CAVXDeluxe5Europe=(CAVXDeluxe5+EuropeDelivery)*1.03;
but without the comments, of course.
Thanks to all. First trick of successful web page programming: make sure WS_FTP is pointing at the directory you think it is!
Hey Clayton,
ReplyDeleteI just opened up the dev tools in Chrome and these are the errors I see. That should get you started.
Line 119: Uncaught SyntaxError: Unexpected token <
Line 791: ScopeRoller93493.shtml:791 Uncaught ReferenceError: regions is not defined
Line 730: ScopeRoller93493.shtml:730 Uncaught ReferenceError: C93493StdUS is not defined
thanks. just downloaded Chrome.
ReplyDeleteLine 119 had an errant script tag in the middle of the javascript, which caused the rest to halt evaluation.
ReplyDeleteI remove that line and it works, but it looks like you've made some further changes since posting this.
You had an errant script tag in the middle of the javascript at line 119, causing the rest to halt evaluation.
ReplyDeleteRemoving that line worked for me, but it looks like you have made further changes since posting this.
Clayton,
ReplyDeleteYou had an errant script tag on line 119 in the middle of the javascript. Simply removing this tag worked for me.
Since trying that on my PC it looks like you have made further changes. Now line 124 has an extra < in the middle of the variable name.
Yup, but not in the source I am ftping up.
ReplyDeleteIt helps to be ftping from the right directort. Thyanks all for your help.
ReplyDeleteI saw the errant script tag as well. I left a comment about it, but I guess it got eaten by the ether. I did put it in tag format, so I bet the Google ate it. That may have been the only problem.
ReplyDelete