{% extends "global/Page.html" %} {% load staticfiles otree %} {% block title %} Welcome to the experiment! {% endblock %} {% block content %}
Loading ...
Loading ...

The experiment stops accepting new participants 5 minutes after the scheduled time. Make sure you click "Start Experiment" before then.

You are about to participate in an experiment on the economics of decision-making. If you read the instructions carefully and make good decisions, you could earn a considerable amount of money.

{% if mturk %} {% endif %}

The Start Experiment button becomes active at the scheduled time of the experiment, and thereafter you can press the button to participate in the experiment.

The experiment has started for more than {{ late_minutes_allowed }} minutes; it has been closed for new participants.

{#

Because you arrived too late, you cannot participate in this experimental session.

#}

{% endblock %} {#function timer() {#} {# // Get today's date and time#} {# var now = new Date();#} {# // Find the distance between now and the count down date, in milliseconds#} {# var distance = countDownDate.getTime()-now.getTime();#} {# // Time calculations for days, hours, minutes and seconds#} {# var days = Math.floor(distance / (1000 * 60 * 60 * 24));#} {# var hours = pad(Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)),2);#} {# var minutes = pad(Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)),2);#} {# var seconds = pad(Math.floor((distance % (1000 * 60)) / 1000),2);#} {# console.log("Experiment starts on " + countDownDate.toDateString() + ' '#} {# + countDownDate.toTimeString() + ' distance ' + distance);#} {##} {# // Display the result in the element with id="demo"#} {# if (days>0){#} {# $("#counter").html("The experiment starts in " + days + " days " + hours + " hours " + minutes + ":" + seconds);#} {# }#} {# else if (hours>0){#} {# $("#counter").html("The experiment starts in " + hours + ":" + minutes + ":" + seconds);#} {# }#} {# else{#} {# $("#counter").html("The experiment starts in " + minutes + ":" + seconds);#} {# }#} {##} {##} {# // If the count down is finished, write some text#} {# if (distance <= 1*60*1000) {#} {#clearInterval(x);#} {# $("#button_start").removeClass("disabled");#} {# $("#button_start").removeAttr("type");#} {# $("#click_button").html("Click the following button to start the experiment.");#} {# $("#counter").html("The experiment is ready to start");#} {# $("#consent").hide();#} {# }#} {##} {# // If the count down is finished, write some text#} {# if (distance/1000/60 <= -{{ late_minutes_allowed }} + 1) {#} {# console.log("arrived too late!"+distance/1000/60);#} {# clearInterval(x);#} {# $("#button_start").hide();#} {# $("#experiment_info").hide();#} {# $("#close_info").show();#} {# $("#click_button").hide();#} {# $("#counter").html("The experiment is closed for new participants.");#} {# }#} {#}#}