Welcome, Guest
Username: Password: Remember me

TOPIC: Display of ranking question

Display of ranking question 5 years 4 months ago #26419

  • joe_p
  • joe_p's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 24
  • Thank you received: 1
  • Karma: 0
Hello,
I'm using Version 1.81+ (6654). I've got a ranking question that will potentially have lengthy answers, so I need it to display without cutting off characters or extending past the area I set by percentages with td width attributes in qanda.php.

In addition to that, here is some CSS I tried:
.ranking td input.text
{    width: 96%;}
 
.ranking div.answers table
{     table-layout:fixed;}
 
.ranking .select 
{     width: 100%;}

One option I found online was to use the width on the select tag (like above), then use an OnMouseOver to move the width to 200%, and an OnBlur to set it back to 100%. Would this possibly work, or is there a better solution? (Either way, when it gets to scripting, I'm a little less savvy - so I'll need a little extra help there.)

Thanks!
Joe
The administrator has disabled public write access.

Re:Display of ranking question 5 years 4 months ago #26494

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5325
  • Thank you received: 296
  • Karma: 249
Did you take a look at "styling questions" (manual)?

When using javascript turn of the internal XSS filter. Check manual ->installation -> optional settings for more information.

If your approaches are successful please leave a note.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
Last Edit: 5 years 4 months ago by Mazi.
The administrator has disabled public write access.

Re:Display of ranking question 5 years 4 months ago #26509

  • joe_p
  • joe_p's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 24
  • Thank you received: 1
  • Karma: 0
I looked at this part on the manual, it doesn't have a lot of detail that helps this specific situation.

I spent a while yesterday working on the styles, but I've had to take a break from experimenting with the styles on the ranking question and move on to other things...

Any examples that anyone might have of some styles they've used on a ranking question would be much appreciated.
The administrator has disabled public write access.

Re:Display of ranking question 3 years 10 months ago #52238

  • thanasix
  • thanasix's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 8
  • Karma: 0
Hello,

I have the same problem.
Lengthy answers are not fully displayed neither in the Choices box nor in the Ranking.

Any suggestion?
Joe, did you find any other solution than the one you've proposed.

Many thanks,

thanasis
The administrator has disabled public write access.

Re:Display of ranking question 3 years 10 months ago #52392

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5325
  • Thank you received: 296
  • Karma: 249
Please always state which Limesurvey version and template you are using.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re:Display of ranking question 3 years 10 months ago #52501

  • thanasix
  • thanasix's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 8
  • Karma: 0
Sorry.
LS Version 1.82+ (6825).
It didn't work with default template but it works fine with others.
Thanks!
The administrator has disabled public write access.

Re:Display of ranking question 3 years 10 months ago #52509

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5325
  • Thank you received: 296
  • Karma: 249
Yeah, styles pretty much depend on the HTML structure of a template.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.156 seconds
Donation Image