up Inquisit Language Reference

nextbuttonposition attribute

The nextbuttonposition attribute sets the position on the screen of the next button on survey page.

Member of

<survey> <surveypage>

Syntax

/ nextbuttonposition = (x value, y value)

Parameters

x value The horizontal screen coordinate in pixels, percent(default), or points.
y value The vertical screen coordinate in pixels, percent(default), or points.

Remarks

Horizontal nextbuttonposition 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 next button position to the lower right 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 next button position to the upper right 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>

Send comments on this topic:
Copyright Millisecond Software, LLC. All rights reserved.