Anchoring images to increments on Slider/Likert scales


Author
Message
carmen0101
carmen0101
Associate Member (252 reputation)Associate Member (252 reputation)Associate Member (252 reputation)Associate Member (252 reputation)Associate Member (252 reputation)Associate Member (252 reputation)Associate Member (252 reputation)Associate Member (252 reputation)Associate Member (252 reputation)
Group: Forum Members
Posts: 20, Visits: 96
I would like to present a slider scale with images at the time. Is it possible to anchor a new image (ontop of each other, so it looks like a morphing image) to each increment anchor on the slider? I would like it so that if the participant is hover over 1 on the slider that an  picture1 is shown on the same screen, and then hovering over 40 on the slider will show picture40 etc...

This is my current coding but I have not worked out how to anchor images to the slider. Also I am unsure whether the LIKERT function may be better to achieve the effect I am after. Any advice would be much appreciated!!!


<text instruction1>
/items =("In this study, you will see some faces.

You will then be asked to estimate what is the average level of emotions shown by the faces.

Rate the average emotion by using your mouse on a scale on the following page.

When you press the <SPACEBAR>, a practice trial will begin.")
/valign = center
/txcolor = black
/fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
</text>

<trial instruction1>
/ stimulusframes = [1=instruction1]
/ inputdevice = keyboard
/ validresponse = (" ")
</trial>

<block instruction1>
/ trials = [1=instruction1]
</block>

<picture practice>
/items = ("morphs\practice_WM\practice_WM_25.bmp")
/size = (80%, 80%)
</picture>

<item practice_WM>
/1="morphs\practice_WM\practice_WM_01.bmp"
/2="morphs\practice_WM\practice_WM_02.bmp"
/3="morphs\practice_WM\practice_WM_03.bmp"
/4="morphs\practice_WM\practice_WM_04.bmp"
/5="morphs\practice_WM\practice_WM_05.bmp"
/6="morphs\practice_WM\practice_WM_06.bmp"
/7="morphs\practice_WM\practice_WM_07.bmp"
/8="morphs\practice_WM\practice_WM_08.bmp"
/9="morphs\practice_WM\practice_WM_09.bmp"
/10="morphs\practice_WM\practice_WM_10.bmp"
/11="morphs\practice_WM\practice_WM_11.bmp"
/12="morphs\practice_WM\practice_WM_12.bmp"
/13="morphs\practice_WM\practice_WM_13.bmp"
/14="morphs\practice_WM\practice_WM_14.bmp"
/15="morphs\practice_WM\practice_WM_15.bmp"
/16="morphs\practice_WM\practice_WM_16.bmp"
/17="morphs\practice_WM\practice_WM_17.bmp"
/18="morphs\practice_WM\practice_WM_18.bmp"
/19="morphs\practice_WM\practice_WM_19.bmp"
/20="morphs\practice_WM\practice_WM_20.bmp"
/21="morphs\practice_WM\practice_WM_21.bmp"
/22="morphs\practice_WM\practice_WM_22.bmp"
/23="morphs\practice_WM\practice_WM_23.bmp"
/24="morphs\practice_WM\practice_WM_24.bmp"
/25="morphs\practice_WM\practice_WM_25.bmp"
/26="morphs\practice_WM\practice_WM_26.bmp"
/27="morphs\practice_WM\practice_WM_27.bmp"
/28="morphs\practice_WM\practice_WM_28.bmp"
/29="morphs\practice_WM\practice_WM_29.bmp"
/30="morphs\practice_WM\practice_WM_30.bmp"
/31="morphs\practice_WM\practice_WM_31.bmp"
/32="morphs\practice_WM\practice_WM_32.bmp"
/33="morphs\practice_WM\practice_WM_33.bmp"
/34="morphs\practice_WM\practice_WM_34.bmp"
/35="morphs\practice_WM\practice_WM_35.bmp"
/36="morphs\practice_WM\practice_WM_36.bmp"
/37="morphs\practice_WM\practice_WM_37.bmp"
/38="morphs\practice_WM\practice_WM_38.bmp"
/39="morphs\practice_WM\practice_WM_39.bmp"
/40="morphs\practice_WM\practice_WM_40.bmp"
/41="morphs\practice_WM\practice_WM_41.bmp"
/42="morphs\practice_WM\practice_WM_42.bmp"
/43="morphs\practice_WM\practice_WM_43.bmp"
/44="morphs\practice_WM\practice_WM_44.bmp"
/45="morphs\practice_WM\practice_WM_45.bmp"
/46="morphs\practice_WM\practice_WM_46.bmp"
/47="morphs\practice_WM\practice_WM_47.bmp"
/48="morphs\practice_WM\practice_WM_48.bmp"
/49="morphs\practice_WM\practice_WM_49.bmp"
/50="morphs\practice_WM\practice_WM_50.bmp"
</item>

<picture practice_WM>
/items = practice_WM
/select =noreplace
/size = (80%, 80%)
</picture>

<trial practice>
/stimulusframes = [1=picture.practice]
/timeout = parameters.stimulusduration
/ recorddata = true
/ ontrialbegin = [values.stimulusitem; values.actual_mean_anger]
/ ontrialend = [values.slider_response; expressions.amplification_effect]
/ branch = [return surveypage.Angerscale;]
</trial>

<block practice>
/trials = [1=practice]
/postinstructions = (practiceend)
</block>

<slider Angerscale>
/labels = ("Neutral", "Intense Emotion")
/range = (0, 50)
/ defaultresponse = 0
/ validresponse = (0,50)
/required = true
/slidersize = (80%, 80%)
/fontstyle = ("Arial", 3%, true, false, false, false, 5, 1)
/ responsefontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/ txcolor = black
</slider>

<surveypage Angerscale>
/ caption = "<%parameters.estimate_instructions%>"
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 10)
/ txcolor = black
/ questions = [1=slider.Angerscale]
/itemspacing = 0
/ showbackbutton = false
/showpagenumbers = false
/showquestionnumbers = false
/ finishlabel = "Next"
/ nextbuttonposition = (50%, 85%)
/ navigationbuttonsize = (8,8)
/ navigationbuttonfontstyle = ("Arial", 2.5%, true, false, false, false, 5, 1)
/ ontrialbegin = [values.stimulusitem; values.actual_mean_anger]
/ ontrialend = [values.slider_response; expressions.amplification_effect]
/recorddata = true
</surveypage>
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search