Group: Forum Members
Posts: 7,
Visits: 37
|
Hi All- Thanks in advance for any assistance. I have two issues that have eluded my lack of intelligence for weeks. One at a time:
1. I cannot figure out how to get this basic slider script to gyroscopically orient to a horizontal position on handheld devices when accessing via Player (now 6.3.1). The Apple iPad, Apple iPhone, Android tablet and Android cell phone will not orient horizontally. Windows desktop has no issue orienting horizontally through Player 6.
<data> / separatefiles = false / columns = (build, computer.platform, date, time, subject, group) </data>
*********************** summary data file *********************** <summarydata> /columns = (script.startdate, script.starttime, script.subjectid, script.groupid, script.elapsedtime, computer.platform) / separatefiles = false </summarydata>
<survey 014_VAS_Baseline_Only> / pages = [1=sequence(014_VAS_Baseline_Only1)] / fontstyle = ("Arial", 2%, true, false, false, false, 5, 0) / subcaptionfontstyle = ("Arial", .5%, false, false, false, false, 5, 0) / responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 0) / showpagenumbers = false / showquestionnumbers = false / showbackbutton = false / navigationbuttonfontstyle = ("Arial", 1.75%, false, false, false, false, 5, 0) / nextbuttonposition = (48, 88) </survey>
<surveypage 014_VAS_Baseline_Only1> / questions = [1=sequence(symptoms, crave)] </surveypage>
<slider symptoms> / caption = "Are you feeling withdrawal symptoms right now?" / subcaption = " " / position = (25%, 10%) / labels = ("Not at all", "Extremely") / showticks = false / range = (0, 100) / increment = 1 / slidersize = (50%, 3%) / required = true </slider>
<slider crave> / caption = "Do you crave more opioids (like heroin or oxycodone) right now?" / subcaption = " " / position = (25%, 25%) / labels = ("Not at all", "Extremely") / showticks = false / range = (0, 100) / increment = 1 / slidersize = (50%, 3%) / required = true </slider>
2. This htmlpage looks great on Windows desktops and the Apple iPad but there is no proportional scaling on the Android tablet and cell phone.
************************************************************************************************************** ************************************************************************************************************** EDITABLE PARAMETERS: change editable parameters here ************************************************************************************************************** **************************************************************************************************************
<parameters> / responseKey = 57 / responseKey_label = "Spacebar" </parameters>
************************************************************************************************************** ************************************************************************************************************** EDITABLE INSTRUCTIONS: change instructions here ************************************************************************************************************** ************************************************************************************************************** <instruct> / fontstyle = ("Arial", 3.5%, true, false, false, false, 5, 1) / txcolor = black / screencolor = white / windowsize = (100%, 100%) </instruct>
<htmlpage intro1> / file = "stop_and_wait_screen.htm" </htmlpage>
************************************************************************************************************** ************************************************************************************************************** DEFAULTS ************************************************************************************************************** ************************************************************************************************************** script requires Inquisit 5.0.9.0 or higher
<defaults> / canvasaspectratio = (4,3) / minimumversion = "5.0.9.0" / fontstyle = ("Arial", 3%, false, false, false, false, 5, 1) / txbgcolor = white / txcolor = black / screencolor = white </defaults>
************************************************************************************************************** ************************************************************************************************************** DATA ************************************************************************************************************** **************************************************************************************************************
*********************** raw data file *********************** <data> / separatefiles = true / columns = (build, computer.platform, date, time, subject, group) </data>
*********************** summary data file *********************** <summarydata> / columns = (script.startdate, script.starttime, script.subjectid, script.groupid, script.elapsedtime, computer.platform) / separatefiles = true </summarydata>
************************************************************************************************************** ************************************************************************************************************** BLOCKS ************************************************************************************************************** **************************************************************************************************************
<block taskStart> / preinstructions = (intro1) </block>
************************************************************************************************************** End of File **************************************************************************************************************
Thanks again, Rich
|