Forum Moderators: travelin cat

Message Too Old, No Replies

Test page on Mac

testing online order page for Mac compatibility

         

blamokh

7:01 pm on Apr 1, 2005 (gmt 0)

10+ Year Member



I have an online order page for a client that works fine on Windows IE/NS/FireFox. But I've gotten a couple of complaints about users on Mac not being able to use it.

Could anyone on a Mac go to <trim>

click the buy online button and let me know if they can click the calculate button?

I would gladly reciprocate any test on a Windows IE/NS/FireFox

[edited by: Brett_Tabke at 3:33 pm (utc) on April 5, 2005]
[edit reason] no real need for the url... [/edit]

DerekH

10:05 pm on Apr 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to Webmasterworld blamokh

Posting URLs is against the terms of service, and you may find a moderator comes along and removes your URL

While it was on show I tested your page on MacOs X

Safari and IE5 : Calculate didn't work
Firefox and Opera : Calculate did work

I use Safari for all my browsing, online banking and online shopping, so there's obviously something a bit suspect with your Javascript, as I seldom have problems. Safari will the the browser of choice of most of your Apple customers.

That's as far as I can help!
DerekH

microcars

5:21 am on Apr 3, 2005 (gmt 0)

10+ Year Member



yeah same results here,

no worky on the latest Safari with 10.3.8

narrowboater

6:42 am on Apr 3, 2005 (gmt 0)

10+ Year Member



Agree it doesn't work with OSX and Safari - also tried it with the 'old-fashioned' OS9.2.2 and IE5. The Calculate button doesn't work in that either I'm afraid.

whoisgregg

4:59 am on Apr 4, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Whenever Mac users email a webmaster about an ecommerce site's javascript, the good news is fixing the problem means you will get those people's business. :)

In your case, you're using a javascript 1.5 feature, .toFixed(). It's meant to provide decimal precision but even in browsers which support it, the output is not reliable. There's plenty of information out there so I won't repeat here what you can find in a search engine.

Welcome to Webmasterworld, blamokh!

blamokh

4:58 pm on Apr 4, 2005 (gmt 0)

10+ Year Member



guys, thank you everyone for your response, you have been very helpful, please feel free to call on me if can return the favor.

whoisgregg, thank you for pointing out the .toFixed problem, I searched online and found that it is not compatible with all browsers.

I replaced that part of the code with a function that uses math.round, would that make the "Calculate" button work now?

whoisgregg

3:29 pm on Apr 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I replaced that part of the code with a function that uses math.round,

Your site's not showing the new code, but yes, I'm sure that will fix it. If you'd like to upload new code and have someone check it, just send me a sticky mail instead of posting to the forum. URL's aren't permitted but I am one of many mac webmasters here willing to help debug when I have the time. :)