- Posts: 6
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
Please Log in to join the conversation.
Da muss man dann evtl. etwas anders vorgehen.Das Bild und die Fragen müssen leider in einer Fragengruppe bleiben.
Please Log in to join the conversation.
Please Log in to join the conversation.
<script type="text/javascript" charset="utf-8"> $(document).on('ready pjax:scriptcomplete',function(){ alert("Halli Hallo"); }); </script>
Please Log in to join the conversation.
Please Log in to join the conversation.
<script type="text/javascript" charset="utf-8"> $(document).ready(function(){ // Zunächst wird die Frage selbst und die beiden nächsten vom Typ "mehrfache Zahleingabe" in Variable eingelesen. var thisQuestion = $('#question'+{QID}+''); var nextQuestion1 = $(thisQuestion).nextAll('.numeric-multi:eq(0)'); var nextQuestion2 = $(thisQuestion).nextAll('.numeric-multi:eq(1)'); var nextQuestions = $(nextQuestion1).add(nextQuestion2); // Die beiden folgenden Fragen und der "Submit-Button werden versteckt $(nextQuestions).hide(); $('#ls-button-submit').hide(); // Die Funktion, welche x Millisekunden wartet, um dann die umschlossenen Befehle auszuführen setTimeout(function () { // Die Frage wird jetzt versteckt (das ist ja das Bild) $(thisQuestion).hide(); // Die zwei folgenden Fragen und der Button werden angezeigt $(nextQuestions).show(); $('#ls-button-submit').show(); }, 10000); // After 10 Seconds, value in milliseconds }); </script>
Please Log in to join the conversation.
Please Log in to join the conversation.