up Inquisit Language Reference

backButtonPosition attribute

The backButtonPosition attribute sets the position on the screen of the back button on survey page.

Member of

<survey> <surveyPage>

Syntax

/ backButtonPosition = (x, y)

Parameters

Name Type Description
x extent The horizontal screen coordinate in pixels, percent(default), or points.
y extent The vertical screen coordinate in pixels, percent(default), or points.

Remarks

Horizontal backButtonPosition is relative to the left side. 0% is the left edge of the screen and 100% is the right edge. Vertical position is relative to the top of the screen, with 0% placing the stimulus at the top and 100% placing it at the bottom edge. The inverse is true for bidirectional locales such as Hebrew and Arabic. Percentages may be specified as decimals (e.g., 52.968) for increased precision.

Examples

The following sets back button position to the lower left corner of the screen:

<survey somesurvey>
/ pages=[1=page1; 2=page2; 3=page3]
/ nextButtonPosition = (90%, 90%)
/ backButtonPosition = (0%, 90%)
/ navigationButtonFontStyle = ("Arial", 10%, true)
/ navigationButtonSize = (10%, 10%)
</survey>

The following sets back button position to the upper left corner of a 1280 x 1024 resolution screen:

<surveypage page1>
/ pages=[1=page1; 2=page2; 3=page3]
/ nextButtonPosition = (774px, 0px)
/ backButtonPosition = (0px, 0px)
/ navigationButtonFontStyle = ("Tahoma", 25px, false, true)
/ navigationButtonSize = (250px, 50px)
</surveypage>

Copyright Millisecond Software, LLC. All rights reserved.