Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Slider with two values

  • Jmantysalo
  • Jmantysalo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
1 year 6 months ago #232710 by Jmantysalo
Replied by Jmantysalo on topic Slider with two values
Aaand... now it works. What is the difference between 204 KB zip you put as an attachment to this thread vs. 208 KB zip one can download from GitHub?

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 6 months ago #232730 by tpartner
Replied by tpartner on topic Slider with two values
The file I attached was downloaded from my GitHub repository.

Did you follow these instructions exactly, or did you try to import the complete GitHub download?

 

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

  • Jmantysalo
  • Jmantysalo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
1 year 6 months ago #232731 by Jmantysalo
Replied by Jmantysalo on topic Slider with two values
Ah, OK. My bad. I didn't understood that the file name has meaning.

Next time I'll re-read instructions.

Please Log in to join the conversation.

  • Jmantysalo
  • Jmantysalo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
1 year 6 months ago #232849 by Jmantysalo
Replied by Jmantysalo on topic Slider with two values
Still more... Is it possible to hide values for this question type? The same

.no-tooltip .withslider .tooltip { display: none !important; }

that works with normal sliders does not work.

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 6 months ago #232851 by tpartner
Replied by tpartner on topic Slider with two values
Assuming you have applied the "no-tooltip" class name to the question, try this (untested because I'm on my phone):

Code:
.no-tooltip .tooltip { display: none !important; }

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 6 months ago #232852 by tpartner
Replied by tpartner on topic Slider with two values
...maybe I should add that as a question setting?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

  • Jmantysalo
  • Jmantysalo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
1 year 6 months ago #233161 by Jmantysalo
Replied by Jmantysalo on topic Slider with two values
Unfortunately
Code:
.no-tooltip .tooltip { display: none !important; }
did not work. And yes, I guess this setting might be useful.

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 6 months ago #233192 by tpartner
Replied by tpartner on topic Slider with two values
If you have applied the "no-tooltip" class name to the question, this will work for the range slider type question:

Code:
.no-tooltip .tooltip,
.no-tooltip .inserted-tooltip { 
    display: none !important; 
}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: Jmantysalo

Please Log in to join the conversation.

  • Jmantysalo
  • Jmantysalo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
1 year 5 months ago #233426 by Jmantysalo
Replied by Jmantysalo on topic Slider with two values
I found a bug: Middle area is always blue, setting "Middle range color" does nothing. Where should I report this?

Also it is possible to move upper marker to the left from lower marker. I'm not sure if this is a bug or feature.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 5 months ago #233429 by Joffm
Replied by Joffm on topic Slider with two values
To be more precise:
It is not always blue, but in "fruity" it is the color of the selected theme vatiation
The selected colors were
low: #8A2BE2 = BlueViolet
middle: #A52A2A = Brown
high: #BDB76B = DarkKhaki

Here "sea green"
 
"sunset orange"
 

But in "vanilla" you see all three selected colors
 

Also it is possible to move upper marker to the left from lower marker.

What do you mean? Some kind of reverse scale?

Joffm
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 5 months ago #233432 by tpartner
Replied by tpartner on topic Slider with two values

Also it is possible to move upper marker to the left from lower marker. I'm not sure if this is a bug or feature.

This is the expected behaviour. Check your data.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: Jmantysalo

Please Log in to join the conversation.

  • Jmantysalo
  • Jmantysalo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
1 year 5 months ago #233435 by Jmantysalo
Replied by Jmantysalo on topic Slider with two values

But in "vanilla" you see all three selected colors
Ah, OK. So I guess there is some workaround having the magic string !important for Fuity theme?

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose