Welcome to the LimeSurvey Community Forum

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

Flip vertical slider

More
8 years 8 months ago #146371 by tpartner
Replied by tpartner on topic Flip vertical slider

I would say that you could possibly solve that using an extra class on the question (reverse or reverse-scale) and use that class to do some magic in css/javascript of your template.

As I suggested, it would be better to do it on slider initialization rather than by detecting a class after the fact.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
8 years 8 months ago #146372 by tammo
Replied by tammo on topic Flip vertical slider
@tpartner: that would mean that when you want to do it with javascript, it would actually mean rotating the slider counterclockwise, which (I guess) is more difficult than rotating it clockwise.

Ah well, nothing seems difficult for you...

Tammo


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The topic has been locked.
More
8 years 8 months ago #146373 by tpartner
Replied by tpartner on topic Flip vertical slider

@tpartner: that would mean that when you want to do it with javascript

No, it's an available slider option that can either be used on initialization or later (as I did with my workaround) - github.com/seiyria/bootstrap-slider .

All I'm saying is that in would be preferable to set the direction on initialization and re-position the text elements at the same time.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
8 years 8 months ago #146374 by tammo
Replied by tammo on topic Flip vertical slider
Yes, right.


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The topic has been locked.
More
8 years 8 months ago #146379 by tpartner
Replied by tpartner on topic Flip vertical slider

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: DenisChenu, tammo
The topic has been locked.
More
8 years 8 months ago #146391 by DenisChenu
Replied by DenisChenu on topic Flip vertical slider

tpartner wrote: It will be in the 3.x version - github.com/LimeSurvey/LimeSurvey/commit/...6e5a3e671c42290f15a2

Thanks :)

But Louis ask you a fix for rtl : it's not the feature ;)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose