Group: Administrators
Posts: 13K,
Visits: 104K
|
Re. #1: Positions on surveypages are always relative to the page's left margin AND the question element's left border. Suppose you have an <image> element with a specified width of 50% (cf. /imagesize). To center it on the page, you would have to specify it's horizontal position at 25%.
<image myimage> / items = ("example.jpg") / imagesize = (50%, 40%) / position = (25%, 20%) </image>
The same is true for other question-type elements, such as <slider>. Define the /slidersize and then apply a little math to position it such that it appears centered.
<image myimage> / items = ("example.jpg") / imagesize = (50%, 50%) / position = (25%, 25%) </image>
<slider myslider> / slidersize = (80%, 10%) / position = (10%, 75%) </slider>
<surveypage mypage> / questions = [1=myimage; 2=myslider] </surveypage>
<defaults> / canvasaspectratio = (1,1) </defaults>
Re. #2: No, there is no option to put automatically put numbers above <radiobuttons> options. You would have to use <caption> elements for that as well.
|