- Posts: 26
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
/* Drag-n-drop for ranking images */ #question11 .dragDropTable { width: auto; } #question11 .dragDropTable .dragDropChoiceList, #question11 .dragDropTable .dragDropRankList { min-height: 60px; _height: 60px; /* IE6 and below hack */ width: auto; min-width: 60px; _width: 60px; /* IE6 and below hack */ } #question11 .dragDropTable li { background: 0 none; border: 0 none; height: 50px; width: 50px; } #question11 .dragDropTable li img { margin: 0; padding: 0; border: 0 none; }
/* Drag-n-drop ranking styles */ .dragDropTable { border: 0 none; border-collapse: collapse; width: 100%; } .dragDropTable td { vertical-align: top; width: 50%; padding-right: 20px; } .dragDropTable .dragDropHeader { font-weight: bold; } .dragDropTable .dragDropChoices, .dragDropTable .dragDropRanks { margin: 5px 0 0 0; background: transparent none; border: 0 none; } .dragDropTable .dragDropChoiceList, .dragDropTable .dragDropRankList { float: left; width: 100%; min-height: 2.4em; _height: 2.4em; /* IE6 and below hack */ margin: 0; padding: 0; list-style-type: none; background: #FBFBFB none; border: 1px solid #CCCCCC; } .dragDropTable .dragDropChoiceList li, .dragDropTable .dragDropRankList li { margin: 3px; *margin-left: -13px; /* IE7 and below */ padding: 3px; min-height: 1.3em; _height: 1.3em; /* IE6 and below hack */ font-weight: normal; cursor: move; display: block; /* Force the li to full width */ }
Ramesh, did you test how it works when setting min/max answers?tpartner wrote: I think you can set a minimum answers for non-mandatory questions.
Why answer to a 6 years old topic …s2940523 wrote: Hello there,
I think it work before (and hardly tested).s2940523 wrote: I am trying to develop a ranking question where the responses can be dragged & dropped into boxes with rank order numbers 1 / 2 / 3 / 4 / 5. The basic drop and drag works on a PC, but would not work with a touch screen (iPhone, iPad). Is there any way how to fix this, please?
Thanks .... it's maybe the highest time to do something about this since it is still an issue 6 years from being first discussed ...