- Posts: 11
- 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.
<script type="text/javascript" data-author="Tony Partner"> $(document).on('ready pjax:scriptcomplete',function(){ $('#question{QID} .slider-item').each(function(i) { $('.ls-input-group-reset', this).appendTo($('> div:eq(0)', this)).css({ 'display': 'block', 'clear': 'both', 'text-align': 'center', 'padding-top': '10px', 'width': 'auto' }); $('.ls-input-group-reset button', this).css({ 'top': 'auto' }); }); }); </script>
Please Log in to join the conversation.
Please Log in to join the conversation.
The button container is inside the slider wrapper. I suppose you could position the button wrapper absolutely but I prefer to move it to clear the labels, which are outside of the slider wrapper.No way to use only CSS here ?
Please Log in to join the conversation.
.ls-input-group-extra { /* width: 1%; */ /* white-space: nowrap; */ /* vertical-align: middle; */ /* display: table-cell; */ /* padding: 0.6rem 1.2rem; */ /* line-height: 1; */ display: block; margin-top: 3em; margin-left: 50%; }
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
<script type="text/javascript" data-author="Tony Partner"> $(document).ready(function() { $('#question{QID} .ls-input-group-reset .btn-slider-reset').text('My button text'); )}; </script>
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.