Skip to content

Info Block

Usually, it is necessary to provide the participant with certain instructions before they start an experimental task. This block may also be used to refer participants to external websites. In ROLEG this is done using the info block. The parameters of this block are summarized below.

String that identifies this block in later analysis of results.
String that specifies the text to be displayed.
Optional, defaults to "Continue".
String that specifies the text on the button that continues the experiment.
String that specifies the URL of an external link. If specified, a second button to the 'continue' button will appear on the slide. This parameter can be used to redirect participants to another website in a new browser tab.


If a participant clicks on this button, a confirmation dialog will appear asking if they want to visit the external website. If the website is opened, the ROLEG experiment will remain open and active in the original browser tab. Therefore, make sure to either instruct the participant they should, after visiting this website, continue the experiment, or close the experiment browser tab if this slide is the end of the experiment.

Optional, only takes effect if link_url is specified and defaults to the value of link_url.
String that specifies the name shown on the external link. This should be representative of the website referenced by link_url.
font that specifies the font used for the current block.

Example usage

The code below illustrates how the info block might be used.

experiment {
    info {
        display = "Press spacebar to go through sentences.\n\nGood luck!"
        continue_text = "Start"
    // Rest of the experiment follows here...

Back to top