up Inquisit Language Reference

page element

The page element defines a page of instruction or feedback text.

Attributes

<page name>
This element has no attributes
</page>

Properties

page.name.content
page.name.name
page.name.typeName

Functions

None.

Remarks

The page element is used to define simple pages of text to be displayed as instructions using the preInstructions or postInstructions attribute. Tab and space characters occuring within the page definition will also appear in the instruction page as displayed. Line breaks, however, are stripped out prior to display. To force a line break, use the special character "^".

Inquisit provides built-in support for reporting accuracy, latency and response window measures at the end of a block of trials using the blockfeedback attribute. The page element also supports customized reporting of a wide variety of performance statistics factored by trial or block type and aggregated over the course of a single block or the entire experiment. The current value of a given measure for a given trial or block can be inserted anywhere within the text of an instruction page by specifying the type of element, element's name, and the name of the measure as follows: <% type.name.property %>

The text of pages can be richly formatted using a subset of supported HTML markup tags. For example, markup tags can be used to make selected words appear in bold, italics, a different font, or a different color. For more information on formatting options, see Using HTML Markup in Text

Examples

The following page reports various latency measures for a "nonword" trial:

<page report>
^^ Your average response time on nonword trials was <% trial.nonword.meanLatency %> milliseconds.
^^ Your fastest response on nonword trials was <% trial.nonword.minLatency %> milliseconds.
^^ Your slowest response on nonword trials was <% trial.nonword.maxLatency %> milliseconds.</page>

The following page element uses HTML tags to bold, italize, and color text as well as insert a simple table in the page element.

<page examplePage>
<center><h1>Welcome!</h1><hr></center><br>
This page elements shows how to use simple html (without CSS):<br><br>
&bull; <b>bold</b> words<br>
&bull; <u>underline</u> words<br>
&bull; <i>italize</i> words<br>
&bull; <font color='red'>color words</font><br><br>
&bull; insert a simple table <br><br>
<table cellspacing='3' border='5' width='90%' align='center' bordercolor='solid black' cellpadding='50'>
<tr>
<td align='center' bgcolor='yellow'><font color='blue'>header1</font></td>
<td align='center' bgcolor='yellow'>header2</td>
</tr>
<tr>
<td>fact1</td>
<td>fact2</td>
</tr>
</table>
</page>

Copyright Millisecond Software, LLC. All rights reserved.