- Posts: 3
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
Please,sydeburn wrote: I agree a custom function would be a nice addition for future versions.
No, best is to have a jquery extension like lsHide, lsShow, the user ca do what thez want in lsHide/lsShow.Mazi wrote: It would be nice to have a survey setting to have conditional questions either pop-up directly or slide in.
Less than 30 minute of work ...Shouldn't be too hard to implement, maybe a good idea for Google Code-in!?
(function($){ $.fn.hide = function(){ $(this).slideUp('slow'); $(this).css('display','none'); }; $.fn.show = function(){ $(this).slideDown('slow', function() { if($(this).is('tbody')){ $(this).css('display','table-row-group'); }else{ $(this).css('display','block'); } }); }; })(jQuery)