HTML doesn't clear when going back a page


Author
Message
achen
achen
New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)
Group: Forum Members
Posts: 12, Visits: 30
Hi,

I have a few pages of instruction (page element) and then a couple htmlpages (htmlpage element). When I press B to go back a page on the page elements, it works fine, but when I'm on an htmlpage and I press B to go back, the htmlpage stays on the screen (I can see the previous page show up behind the html content). How can I make the htmlpage clear when a participant goes back a page?
I'm pasting the relevant parts of the script below:

*********************************
ITEMS
*********************************
<instruct>
/ fontstyle = ("Arial", 3.5%, true)
/ txcolor = (0, 0, 0)
/ screencolor = (255, 255, 255)
/ nextkey = (57)
/ prevkey = (48)
/ navigationbuttonfontstyle = ("Arial",2.5%, true)
/ nextlabel = "Press space to see the next set of instructions."
/ prevlabel = "Press B to see the last set of instructions."
/ finishlabel = "Press space to continue."
</instruct>

<page intro7>
<center><p style="font-style: italic; font-weight: normal; color:#808080"><br><br>Note: The previous word pair was 'bowl-cereal'</p><br><br>poverty<br><br>money<br><br><br><br><br>These words are related to each other in that 'poverty' is a lack of 'money,' but they aren't related in the same way as the previous two words. These word pairs do not form an analogy.</center>
</page>

<page introblank>
<center><br><br<br><br><br><br><br><br><br><br>Press SPACE to continue.
</page>

<htmlpage intro8>
/ file = "explicit_flowchart.html"
</htmlpage>

<htmlpage intro9>
/ file = "explicit_keyboard.html"
</htmlpage>

*********************************
BLOCKS
*********************************

<block practice>
/ trials = [
    1,4,7,10=practice_1;
    2,5,8,11=practice_within;
    3,6,9,12=practice_2;
]
/ preinstructions = (intro1, intro2, intro3, intro4, intro5, intro6, intro7, introblank, intro8, intro9)
</block>

<block postpractice>
/ trials = [
    1= postpractice;
]
</block>

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: 109K
achen - 5/13/2026
Hi,

I have a few pages of instruction (page element) and then a couple htmlpages (htmlpage element). When I press B to go back a page on the page elements, it works fine, but when I'm on an htmlpage and I press B to go back, the htmlpage stays on the screen (I can see the previous page show up behind the html content). How can I make the htmlpage clear when a participant goes back a page?
I'm pasting the relevant parts of the script below:

*********************************
ITEMS
*********************************
<instruct>
/ fontstyle = ("Arial", 3.5%, true)
/ txcolor = (0, 0, 0)
/ screencolor = (255, 255, 255)
/ nextkey = (57)
/ prevkey = (48)
/ navigationbuttonfontstyle = ("Arial",2.5%, true)
/ nextlabel = "Press space to see the next set of instructions."
/ prevlabel = "Press B to see the last set of instructions."
/ finishlabel = "Press space to continue."
</instruct>

<page intro7>
<center><p style="font-style: italic; font-weight: normal; color:#808080"><br><br>Note: The previous word pair was 'bowl-cereal'</p><br><br>poverty<br><br>money<br><br><br><br><br>These words are related to each other in that 'poverty' is a lack of 'money,' but they aren't related in the same way as the previous two words. These word pairs do not form an analogy.</center>
</page>

<page introblank>
<center><br><br<br><br><br><br><br><br><br><br>Press SPACE to continue.
</page>

<htmlpage intro8>
/ file = "explicit_flowchart.html"
</htmlpage>

<htmlpage intro9>
/ file = "explicit_keyboard.html"
</htmlpage>

*********************************
BLOCKS
*********************************

<block practice>
/ trials = [
    1,4,7,10=practice_1;
    2,5,8,11=practice_within;
    3,6,9,12=practice_2;
]
/ preinstructions = (intro1, intro2, intro3, intro4, intro5, intro6, intro7, introblank, intro8, intro9)
</block>

<block postpractice>
/ trials = [
    1= postpractice;
]
</block>

Thanks!

In short: Don't mix and match <page> and <htmlPage> in one set. Use either <page> elements only, which can be formatted with HTML tags, or use <htmlPage> only.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search