Welcome, Guest
Username: Password: Remember me

TOPIC: Problems with sliders display

Problems with sliders display 3 years 7 months ago #54165

  • FPaglieri
  • FPaglieri's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
Hello. I am using version 1.90+, build 9522. My survey, currently inactive, is at www.itd.cnr.it/limesurvey/index.php?sid=92186&lang=it

Six questions in the last part of my survey use the slider option, with only one slider for each question. I have two problems with that:

(1) the handle does not appear in the middle of the slider, even if I used advanced settings to set "Slider starts at the middle position" on "YES"

(2) when testing my survey, the handle cannot be moved from the leftmost margin of the slider, where it appears by default (in other words, it does not work as it should)

In case it is relevant, I should mention that I customized the appearence of the slider in the template.css file following instructions from previous posts in this forum, with two objectives: increasing the slider width (length), and changing how the handle appears. The modifications are pasted at the end of this message, just in case my troubles originate from them.

I searched on the forum and could not find similar issues and/or suitable solutions. I'd be grateful for any suggestions/tips from you, guys. Thanks in advance!

Fabio

--
SLIDER WIDTH

.ui-slider-1 {
width: 400px;
height: 9px;
margin-bottom: 20px;
}

SLIDER HANDLE

.ui-slider-handle {
}

.ui-state-default,
.ui-widget-content .ui-state-default {
background: url(slider-handle.gif) no-repeat 0 0; /* The default image */
background-color: transparent !important;
border: none;
outline-color: none !important;
outline: none !important;
position: absolute;
height: 25px;
width: 12px;
top: 0px;
cursor: pointer;
}

.ui-state-active,
.ui-widget-content .ui-state-active {
background:url(slider-handle.gif) no-repeat 0 0; /* The active image */
}
The administrator has disabled public write access.

Re:Problems with sliders display 3 years 7 months ago #54169

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5300
  • Thank you received: 291
  • Karma: 247
1. At global settings -> security you have to enable preview so we can have a look at your survey.

2. Please test if it all works fine with the default template. In thsi case your modification have probably broken the slider.

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:Problems with sliders display 3 years 7 months ago #54173

  • FPaglieri
  • FPaglieri's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
Thanks for the quick and helpful feedback. Unfortunately I do not seem to have access to global settings from my account... I am using Limesurvey at my research institution and I am not the main administrator, could that be the reason why I do not find the global setting button? Or am I missing something?

However, I have now activated my survey (I will de-activate it once we have figured out the problem), so now you should have access to it.

As for your other suggestion, I did try with the default template (actually, it is currently set on the default template) and it still does not work, so I do not think the problem is with my modifications.

Looking forward to further suggestions, and thanks again for your time!

Fabio
The administrator has disabled public write access.

Re:Problems with sliders display 3 years 7 months ago #54177

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5300
  • Thank you received: 291
  • Karma: 247
1. Yes, you probably have unsufficient right. In this case you can also create a copy of your survey and activate this one so we can have a look.

2. Can you export your question and attach it here for testing?

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:Problems with sliders display 3 years 7 months ago #54182

  • FPaglieri
  • FPaglieri's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
1) I did activate my survey, so I am hoping you are able to access it now... does it work?

2) I am attaching one of my slider-based question, so that you can have a look.

Btw, now I need to go off line, I'll check back tomorrow, so... there is no rush! Thanks again.

Best, Fabio

File Attachment:

File Name: limesurvey_question_1451.lsq
File Size: 6436
The administrator has disabled public write access.

Re:Problems with sliders display 3 years 7 months ago #54198

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5300
  • Thank you received: 291
  • Karma: 247
The problem with your question is that the MIN/MAX value has to be a numerical value. You have inputted some text there which broke the slider.
To enter text at the left/right other question attributes (slider separator) can be used, see manual -> question attributes.

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:Problems with sliders display 3 years 7 months ago #54204

  • FPaglieri
  • FPaglieri's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
Oh my, that was really trivial... anyway, it worked perfectly. Thanks for your kind help, Mazi.

Cheers, Fabio
The administrator has disabled public write access.

Re:Problems with sliders display 3 years 7 months ago #54209

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5300
  • Thank you received: 291
  • Karma: 247
You're welcome!

If our hints have been helpful and you enjoy limesurvey please consider a donation to the team .
We do all this in our free time and you don't have to pay a penny for this software.

Without your help we can't keep this project alive.

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.141 seconds
Donation Image