LimeSurvey: Difference between revisions

Jump to navigation Jump to search
disappearing text
Line 27: Line 27:


==  Disappearing questins ==  
==  Disappearing questins ==  
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 and replace part of your text:
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/>
  Following text disappears after five seconds:<br/>
  Roses are red, violets are blue, I am gone, and so...
  Roses are red, violets are blue, I am gone, and so...


with this:
now insert the following:


  Following text disappears after five seconds:<br/>
  Following text disappears after five seconds:<br/>
Line 40: Line 40:
  <script type="text/javascript">
  <script type="text/javascript">
   setTimeout("document.getElementById('question17').style.visibility='hidden';", 3000);
   setTimeout("document.getElementById('question17').style.visibility='hidden';", 3000);
  </script>
</script>


Make sure the id (''question17'') is unique on the question page. Try it in ''demo time''.


== FAQ ==
== FAQ ==