+10 votes
in SoSci Survey (English) by s134776 (200 points)


On one page of the questionnaire, I have a picture and then after it, I have a text input question (the picture and question are on the same page). I want the picture to disappear after 30 seconds, but I want the question to remain. How do I do this? Please help!

1 Answer

0 votes
by SoSci Survey (290k points)
edited by SoSci Survey

You will need some JavaScript. Please start with these two manual chapters:

Timer: Show the 'Next' Button After a Certain Period of Time
Immediately Show Questions when a Certain Option is Selected

They explain the timer stuff and how to make page content (dis-)appear.

Then give it a try, and feel free to post trouble that arise (also see Browser Developer Tools for finding trouble) and maybe a prestest link directly (!) to the page with the code.

And just in case. Here's a minimum HTML example:

<img src="image.png" alt="" id="my_image">

window.setTimeout(function() {
    document.getElementById("my_image").style.display = "none";
}, 2000);

Willkommen im Online-Support von SoSci Survey.

Hier bekommen Sie schnelle und fundierte Antworten von anderen Projektleitern und direkt von SoSci Survey.

→ Eine Frage stellen

Welcome to the SoSci Survey online support.

Simply ask a question to quickly get answers from other professionals, and directly from SoSci Survey.

→ Ask a Question