- Posts: 16
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
<script type="text/javascript" charset="utf-8"> $(document).on('ready pjax:scriptcomplete',function(){ // Identify this question var thisQuestion = $('#question{QID}'); // Move element(s) $('.question-title-container', thisQuestion).append($('.question-valid-container', thisQuestion)); }); </script>
<style type="text/css"> .question-container { margin-bottom: 0em; margin-top: 0em; } #question{QID} .question-title-container { width:25%; } #question{QID} .answer-container { width: 75%; } #question{QID} .question-valid-container { padding-left: 0; } </style>
Füge also dies in den Quelltext der Frage ein:
<script type="text/javascript" src="/survey/upload/surveys/{SID}/files/highslide-full.min.js"></script> <link href="/survey/upload/surveys/{SID}/files/highslide.css" rel="stylesheet" type="text/css" /> <script type="text/javascript"> hs.graphicsDir = '/survey/upload/surveys/{SID}/files/graphics/'; hs.wrapperClassName = 'wide-border'; hs.align = 'center'; </script>
<a class="highslide" href="/survey/upload/surveys/{SID}/images/boot500.jpg" onclick="return hs.expand(this)" rel="highslide"> <img alt="Highslide JS" src="/survey/upload/surveys/864689/images/boot500.jpg" title="Klicken zum Vergrößern" width="100%" /> </a>
<a class="highslide" href="/survey/upload/surveys/{SID}/images/boot_gross.jpg" onclick="return hs.expand(this)" rel="highslide"> <img alt="Highslide JS" src="/survey/upload/surveys/864689/images/boot_klein.jpg" title="Klicken zum Vergrößern" width="100%" /> </a>