The nextButtonPosition attribute sets the position on the screen of the next button on survey page.
<survey> <surveyPage>
or
/ nextButtonPosition = (xexpression, yexpression)Name | Type | Description |
---|---|---|
x | extent | A value or property indicating the horizontal screen coordinate in pixels, percent(default), or points. If x is set to null and y is specified, x is set to the pixel value of y. |
y | extent | A value or property indicating the vertical screen coordinate in pixels, percent(default), or points. If y is set to null and x is specified, y is set to the pixel value of x. |
xexpression | value | An expression that resolves to a value or property indicating the horizontal screen coordinate in pixels, percent(default), or points. If x is set to null and y is specified, x is set to the pixel value of y. |
yexpression | value | An expression that resolves to a value or property indicating the vertical screen coordinate in pixels, percent(default), or points. If y is set to null and x is specified, y is set to the pixel value of x. |
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.
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>