HTML element not located


Author
Message
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 105K
No, Inquisit 3 has no <html> element. You would have to display e.g. a <picture> instead.

jbae
jbae
Respected Member (490 reputation)Respected Member (490 reputation)Respected Member (490 reputation)Respected Member (490 reputation)Respected Member (490 reputation)Respected Member (490 reputation)Respected Member (490 reputation)Respected Member (490 reputation)Respected Member (490 reputation)
Group: Awaiting Activation
Posts: 2, Visits: 7
I apologize but I didn't realize that this thread was posted under Inquisit 4.
The above question is in reference to Inquisit 3. Would it be still possible in Inquisit 3 even though there is no <html> in Inquisit 3?

Thanks.

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 105K
Here's a quick example to illustrate:

<expt>
/ preinstructions = (intropage)
/ postinstructions = (endpage)
/ blocks = [1=consentblock; 2=taskblock]
</expt>

<instruct>
/ finishlabel = ("NEXT>>")
/ windowsize = (90%, 80%)
</instruct>

<htmlpage intropage>
/ file = "intro.htm"
</htmlpage>

<htmlpage endpage>
/ file = "end.htm"
</htmlpage>

<block consentblock>
/ trials = [1=consenttrial]
</block>

<block taskblock>
/ skip = [trial.consenttrial.response=="decline"]
/ trials = [1-10=tasktrial]
</block>

<html consentpage>
/ items = ("consent.htm")
/ size = (90%, 80%)
</html>

<trial consenttrial>
/ stimulusframes = [1=consentpage, accept, decline]
/ inputdevice = mouse
/ validresponse = (accept, decline)
</trial>

<text accept>
/ items = ("ACCEPT")
/ position = (45%, 95%)
/ txbgcolor = grey
</text>

<text decline>
/ items = ("DECLINE")
/ position = (55%, 95%)
/ txbgcolor = grey
</text>

<trial tasktrial>
/ posttrialpause = 500
/ stimulusframes = [1=stimulus]
/ validresponse = (57)
</trial>

<text stimulus>
/ items = ("Press the spacebar as quickly as possible.")
</text>


Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 105K
You cannot do this with html *instruction* pages (i.e., <htmlpage>). You can do this using standard <trial> elements displaying a <html> stimulus. Your buttons then would be just standard <text> elements displayed by the <trial> and clickable via the mouse (/inputdevice = mouse; /valdidresponse = (button1, button2, button3); etc.).

The agree to participate vs. decline to participate logic then would be accomplished via /branch, /skip and/or /stop attributes.

jbae
jbae
Respected Member (490 reputation)Respected Member (490 reputation)Respected Member (490 reputation)Respected Member (490 reputation)Respected Member (490 reputation)Respected Member (490 reputation)Respected Member (490 reputation)Respected Member (490 reputation)Respected Member (490 reputation)
Group: Awaiting Activation
Posts: 2, Visits: 7
Another quick question to the above thread:

Would there be any way that I could add an additional button on my htmlpage?
I'm trying to have two buttons (one for 'Agree' and one for 'Disagree') on my htmlpage but using the <instruct> element attributes is not letting me add any additional buttons.

My code is shown below:
<htmlpage intro>
/ file = "C:\InquisitExp\intro.htm"
</htmlpage>

<block consent>
/ preinstructions=(intro)
</block>

<instruct>
/ inputdevice = mouse
/ prevlabel = "DISAGREE"
/ finishlabel = "AGREE"
</instruct>

<expt>
</blocks = [1 = consent]
</expt>

Also, if it is possible to add an additional button on my htmlpage, how would I set each button to go to different pages? For example, clicking 'Agree' button will move onto the next page whereas clicking 'Disagree' will move onto the last page of my experiment?

Thank you for your help and your time.

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 105K
The label for the 'next' button for the *last* page in a set of instruction pages must be set via the <instruct> element's /finishlabel attribute.
CES
CES
Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)
Group: Forum Members
Posts: 24, Visits: 103
The previous question is in reference to Inquisit 3.
CES
CES
Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)
Group: Forum Members
Posts: 24, Visits: 103

Just a quick follow up to the above thread:

I'm trying to change the 'Press Enter to Continue' text on my htmlpage, but using nextlabel via the <instruct> element is not changing the text on the label button.

Here is a brief overview of my code:

<htmlpage intro>
/ file="D:\ExpTest\test.htm"
</htmlpage>

<block myblock>
/ preinstructions=(intro)
</block>

<instruct>
/ inputdevice = mouse
/ nextlabel = "AGREE"
</instruct>

<expt >
/blocks = [1 = myblock]
</expt>


Any insight into if it's possible to change this label would be helpful. Thanks!


CES
CES
Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)
Group: Forum Members
Posts: 24, Visits: 103

Just a quick follow up to the above thread:

I'm trying to change the 'Press Enter to Continue' text on my htmlpage, but using nextlabel via the <instruct> element is not changing the text on the label button.

Here is a brief overview of my code:

<htmlpage intro>
/ file="D:\ExpTest\test.htm"
</htmlpage>

<block myblock>
/ preinstructions=(intro)
</block>

<instruct>
/ inputdevice = mouse
/ nextlabel = "AGREE"
</instruct>

<expt >
/blocks = [1 = myblock]
</expt>


Any insight into if it's possible to change this label would be helpful. Thanks!


Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 105K
#1: There is no <html> element in Inquisit 3, only a <htmlpage> element for HTML instruction pages.

#2: You can partly configure things via the <instruct> element (e.g. its /windowsize, /nextlabel etc. attributes). You cannot get rid of scrollbar, borders and buttons completely.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search