Back
Login
Register
Login
Register
Millisecond Forums
Home
»
Millisecond Forums
»
Inquisit 5
»
Colour Change in instructions htm file
Colour Change in instructions htm file
Post Reply
Like
64
Colour Change in instructions htm file
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
sherry09
sherry09
posted 7 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 7,
Visits: 11
Hello,
I am new to Inquisit, so not sure if this question has been asked before. I am trying to change one of the colours from "yellow" to "purple" for an emotional Stroop task. I was able to successfully change the colours in the .iqx file but the instructions htm file is still yellow. I have tried making new html file for it but unfortunately, it also shows up with
- <%parameters.yellowlabel%> for
purple
words instead of the actual response key in the program.
My question is I am not sure how to fix this? and it is possible for me to change the entire html file to text and just type in the response keys myself instead of having the command "parameters yellowlabel".
I am sorry if there is an obvious answer. I am very new to Inquisit.
Thanks!!
Sherry09
Reply
Like
64
Dave
Dave
posted 7 Years Ago
ANSWER
Post Details
Share Post
Group: Administrators
Posts: 13K,
Visits: 107K
+
x
sherry09 - Monday, April 30, 2018
Hello,
I am new to Inquisit, so not sure if this question has been asked before. I am trying to change one of the colours from "yellow" to "purple" for an emotional Stroop task. I was able to successfully change the colours in the .iqx file but the instructions htm file is still yellow. I have tried making new html file for it but unfortunately, it also shows up with
- <%parameters.yellowlabel%> for
purple
words instead of the actual response key in the program.
My question is I am not sure how to fix this? and it is possible for me to change the entire html file to text and just type in the response keys myself instead of having the command "parameters yellowlabel".
I am sorry if there is an obvious answer. I am very new to Inquisit.
Thanks!!
Sherry09
To edit the original HTML file, open it in a simple text editor such as Notepad under Windows. Do _not_ use a word processor or other kind of "rich text" editor -- these will convert the "<" and ">" characters in
<%parameters.yellowlabel%>
to HTML encoding, i.e. < and >, and that will prevent the HTML file from displaying the actual value of parameters.yellowlabel. Instead it will display the text "
<%parameters.yellowlabel%>"
Reply
Like
68
sherry09
sherry09
posted 7 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 7,
Visits: 11
+
x
Dave - Monday, April 30, 2018
+
x
sherry09 - Monday, April 30, 2018
Hello,
I am new to Inquisit, so not sure if this question has been asked before. I am trying to change one of the colours from "yellow" to "purple" for an emotional Stroop task. I was able to successfully change the colours in the .iqx file but the instructions htm file is still yellow. I have tried making new html file for it but unfortunately, it also shows up with
- <%parameters.yellowlabel%> for
purple
words instead of the actual response key in the program.
My question is I am not sure how to fix this? and it is possible for me to change the entire html file to text and just type in the response keys myself instead of having the command "parameters yellowlabel".
I am sorry if there is an obvious answer. I am very new to Inquisit.
Thanks!!
Sherry09
To edit the original HTML file, open it in a simple text editor such as Notepad under Windows. Do _not_ use a word processor or other kind of "rich text" editor -- these will convert the "<" and ">" characters in
<%parameters.yellowlabel%>
to HTML encoding, i.e. < and >, and that will prevent the HTML file from displaying the actual value of parameters.yellowlabel. Instead it will display the text "
<%parameters.yellowlabel%>"
Hi Dave,
Thanks for your reply. I have already tried that. I made new html instruction files but instead of the actual response key "k", it says <%parameters.yellowlabel%>. I am not sure how this works, but can I just make another html file and manually change <%parameters.yellowlabel%> to letter "k" and run that on Inquisit?
Thanks so much!
Sherry09
Reply
Like
59
Dave
Dave
posted 7 Years Ago
ANSWER
Post Details
Share Post
Group: Administrators
Posts: 13K,
Visits: 107K
+
x
sherry09 - Monday, April 30, 2018
+
x
Dave - Monday, April 30, 2018
+
x
sherry09 - Monday, April 30, 2018
Hello,
I am new to Inquisit, so not sure if this question has been asked before. I am trying to change one of the colours from "yellow" to "purple" for an emotional Stroop task. I was able to successfully change the colours in the .iqx file but the instructions htm file is still yellow. I have tried making new html file for it but unfortunately, it also shows up with
- <%parameters.yellowlabel%> for
purple
words instead of the actual response key in the program.
My question is I am not sure how to fix this? and it is possible for me to change the entire html file to text and just type in the response keys myself instead of having the command "parameters yellowlabel".
I am sorry if there is an obvious answer. I am very new to Inquisit.
Thanks!!
Sherry09
To edit the original HTML file, open it in a simple text editor such as Notepad under Windows. Do _not_ use a word processor or other kind of "rich text" editor -- these will convert the "<" and ">" characters in
<%parameters.yellowlabel%>
to HTML encoding, i.e. < and >, and that will prevent the HTML file from displaying the actual value of parameters.yellowlabel. Instead it will display the text "
<%parameters.yellowlabel%>"
Hi Dave,
Thanks for your reply. I have already tried that. I made new html instruction files but instead of the actual response key "k", it says <%parameters.yellowlabel%>. I am not sure how this works, but can I just make another html file and manually change <%parameters.yellowlabel%> to letter "k" and run that on Inquisit?
Thanks so much!
Sherry09
Yes, you can do that. But let me try to illustrate the difference with an example (attached below). Download the ZIP, exract it and run the very simple example script:
<parameters>
/ favorite_food = "pizza"
</parameters>
<expt>
/ preinstructions = (righthtml, wronghtml)
</expt>
<htmlpage righthtml>
/ file = "right.html"
</htmlpage>
<htmlpage wronghtml>
/ file = "wrong.html"
</htmlpage>
Now, open right.html in Notepad, and you'll see this:
<!DOCTYPE html>
<html>
<body>
<h1>This is right</h1>
<p>My favorite food is
<%parameters.favorite_food%>
.</p>
</body>
</html>
Open wrong.html in Notepad, and you'll see this instead:
<!DOCTYPE html>
<html>
<body>
<h1>This is wrong</h1>
<p>My favorite food is
<%parameters.favorite_food%>
.</p>
</body>
</html>
The latter is the problem with your HTML file. You need to change < and > back to < and > in the HTML source code.
Attachments
example.zip
(
332 views,
799 bytes
)
Reply
Like
65
sherry09
sherry09
posted 7 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 7,
Visits: 11
+
x
Dave - Monday, April 30, 2018
+
x
sherry09 - Monday, April 30, 2018
+
x
Dave - Monday, April 30, 2018
+
x
sherry09 - Monday, April 30, 2018
Hello,
I am new to Inquisit, so not sure if this question has been asked before. I am trying to change one of the colours from "yellow" to "purple" for an emotional Stroop task. I was able to successfully change the colours in the .iqx file but the instructions htm file is still yellow. I have tried making new html file for it but unfortunately, it also shows up with
- <%parameters.yellowlabel%> for
purple
words instead of the actual response key in the program.
My question is I am not sure how to fix this? and it is possible for me to change the entire html file to text and just type in the response keys myself instead of having the command "parameters yellowlabel".
I am sorry if there is an obvious answer. I am very new to Inquisit.
Thanks!!
Sherry09
To edit the original HTML file, open it in a simple text editor such as Notepad under Windows. Do _not_ use a word processor or other kind of "rich text" editor -- these will convert the "<" and ">" characters in
<%parameters.yellowlabel%>
to HTML encoding, i.e. < and >, and that will prevent the HTML file from displaying the actual value of parameters.yellowlabel. Instead it will display the text "
<%parameters.yellowlabel%>"
Hi Dave,
Thanks for your reply. I have already tried that. I made new html instruction files but instead of the actual response key "k", it says <%parameters.yellowlabel%>. I am not sure how this works, but can I just make another html file and manually change <%parameters.yellowlabel%> to letter "k" and run that on Inquisit?
Thanks so much!
Sherry09
Yes, you can do that. But let me try to illustrate the difference with an example (attached below). Download the ZIP, exract it and run the very simple example script:
<parameters>
/ favorite_food = "pizza"
</parameters>
<expt>
/ preinstructions = (righthtml, wronghtml)
</expt>
<htmlpage righthtml>
/ file = "right.html"
</htmlpage>
<htmlpage wronghtml>
/ file = "wrong.html"
</htmlpage>
Now, open right.html in Notepad, and you'll see this:
<!DOCTYPE html>
<html>
<body>
<h1>This is right</h1>
<p>My favorite food is
<%parameters.favorite_food%>
.</p>
</body>
</html>
Open wrong.html in Notepad, and you'll see this instead:
<!DOCTYPE html>
<html>
<body>
<h1>This is wrong</h1>
<p>My favorite food is
<%parameters.favorite_food%>
.</p>
</body>
</html>
The latter is the problem with your HTML file. You need to change < and > back to < and > in the HTML source code.
That's great!!! Thanks Dave :) I appreciate your help.
Sherry09
Reply
Like
48
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
64
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Facebook
Explore
Messages
Mentions
Search