Difference between revisions of "Help:LimeSurvey/Demo time"
Jump to navigation
Jump to search
m (E.vandenberge moved page Help:LimeSurvey\Demo time to Help:LimeSurvey/Demo time without leaving a redirect: Flipped the slash) |
|
(One intermediate revision by the same user not shown) | |
(No difference)
|
Latest revision as of 16:24, 30 April 2015
Limesurvey Demo time, Disappearing questions
A similar trick as we used with the h.264 video is also possible to let text disappear after a while. Type some text, click the source button. Let's assume it looks like this:
Following text disappears after five seconds:<br/> Roses are red, violets are blue, I am gone, and so...
now change it into the following:
Following text disappears after five seconds:<br/> <div id="question17"> Roses are red, violets are blue, I am gone, and so... </div> <script type="text/javascript"> setTimeout("document.getElementById('question17').style.visibility='hidden'", 3000); </script>
Make sure the id (question17) is unique on the question page. It must appear precisely twice (as shown above). The 3000 is the time before the text disappears in ms. Try it in demo time.