- Posts: 36
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
<div class="alert alert-warning" role="alert"><strong>Achtung! </strong>Sie haben {QRes} Mal mit "Don't know" geantwortet.</div> <div class="alert alert-success" role="alert"><strong>Sehr gut! </strong>Sie haben nur {QRes} Mal mit "Don't know" geantwortet.</div> <script type="text/javascript" charset="utf-8"> $(document).on('ready pjax:scriptcomplete',function(){ var thisQuestion = $('#question{QID}'); $('.question-text .alert-success', thisQuestion).hide(); $('.question-text .alert-warning', thisQuestion).hide(); var wert='{QRes}'; if (wert>2) { $('.question-text .alert-warning', thisQuestion).show(); } else { $('.question-text .alert-success', thisQuestion).show(); } setTimeout(function () { $('.question-text .alert-success', thisQuestion).fadeOut(500); $('.question-text .alert-warning', thisQuestion).fadeOut(500); }, 5000); }); </script>
Please Log in to join the conversation.