Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Time response delay source code
I am having a problem here... I have a website that has random images displayed one by one and upon the user pressing a particular key to answer the question so as to which image expresses the word happy or sorrow the answers are coded and the string parsed is extracted into a database a MS Sql server.... my problem is that i need t implement a sresponse delay of 250 ms before loading the next stimuli(i.e) the next picture... this has to be done mmediately after selecting an answer for the current stimuli (or) picture.any further processing of the current stimuli(checking if the answer is correct or wrong) should be done within 250 ms and the system pauses for any extra time that is left...if the response to the stimuli turns out to be incorrect the counter will be reset on the next response......
How to work this out...Can anyone help me there
Appreciate your help there