Code for Reaction Time Test

Discussion in 'HTML & Website Design' started by driversdomainuk, Sep 17, 2009.

  1. #1
    Hi

    I own a driving website, part of it gives info on how to become a racing driver, and natural skills you need.

    I am wanting to add a bit of code which allows people to test their reactions - simply when a colour or something on screeen changes they have to click the mouse - it measures how long it takes you to click.

    example of what I mean is

    http://getyourwebsitehere.com/jswb/rttest01.html

    PS - my reaction time is 0.24699 (Lewis Hamilton is 0.08954!!!)

    Any one can help...?
     
    driversdomainuk, Sep 17, 2009 IP
  2. Kerosene

    Kerosene Alpha & Omega™ Staff

    Messages:
    11,366
    Likes Received:
    575
    Best Answers:
    4
    Trophy Points:
    385
    #2
    Just look at the page source - it's all JavaScript, and it's all there.
    You could easily copy it, change the images and tweak it a bit etc...

    My reaction time was .2ish, and I'm wasted :D
     
    Kerosene, Sep 17, 2009 IP