Help me test this JavaScript application
Moderator: General Moderators
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US
Help me test this JavaScript application
Here's the application: http://www.thewritingpot.com/projectilelab/
We are going to be deploying it on an internal network that consists of mostly Macs (older versions), so testing in Safari and IE on Macintosh would be extremely good. Testing from older hardware is also welcome. I've already done some rudimentary tests on Windows XP with Opera, Firefox and IE 6+7.
To test, you will want to scroll through all the questions, guess some answers, watch the animation, etc. If you'd like to figure out the correct answers, do: javascript:alert($('answer').value=question.getAnswer);
It's pure JavaScript, since we won't have a webserver available.
We are going to be deploying it on an internal network that consists of mostly Macs (older versions), so testing in Safari and IE on Macintosh would be extremely good. Testing from older hardware is also welcome. I've already done some rudimentary tests on Windows XP with Opera, Firefox and IE 6+7.
To test, you will want to scroll through all the questions, guess some answers, watch the animation, etc. If you'd like to figure out the correct answers, do: javascript:alert($('answer').value=question.getAnswer);
It's pure JavaScript, since we won't have a webserver available.
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US
I don't know how to do flash...Why not flash ? Wouldn't it look nicer?
I don't understand: how would that help them out? I can understand allowing them to change scaling, but changing units across the board seems fairly pointless.One suggestion though: allow users to change measuring unit.
Doesn't the clearInterval() do that? Or am I missing something?you need to stop the timer after the projectile is finished
add a while(dots[cur]){} around your projectile code.. or similar
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US
Figured it out! I had called setInterval and assigned it to interval1 TWICE, so the first one never was being stopped.It does, but you must not be applying it correctly because it keeps firing and erroring after the projectile stops.
We only use metrics in Physics, so I can't see that being much use, no offense or anything. I'm lazy. :-/Since you got meters, its fine I guess. But if its km then a switch to mile and vice-versa.
Or maybe even in feet ?
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
In Canada too... where is Physics?Ambush Commander wrote:We only use metrics in Physics...
(the double assignment is still there on line 108)
Last edited by Kieran Huggins on Thu Jan 11, 2007 6:18 pm, edited 1 time in total.
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US