Flip vertical slider

More
10 months 3 weeks ago #146371 by tpartner
tpartner replied the 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.

Please Log in to join the conversation.

More
10 months 3 weeks ago #146372 by tammo
tammo replied the 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 Tools for Research
Proud developers of the TFR Responsive Limesurvey template
toolsforresearch.com/limesurvey-responsive-template

Please Log in to join the conversation.

More
10 months 3 weeks ago #146373 by tpartner
tpartner replied the 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.

Please Log in to join the conversation.

More
10 months 3 weeks ago #146374 by tammo
tammo replied the topic: Flip vertical slider
Yes, right.


Tammo ter Hark at Tools for Research
Proud developers of the TFR Responsive Limesurvey template
toolsforresearch.com/limesurvey-responsive-template

Please Log in to join the conversation.

More
10 months 3 weeks ago #146379 by tpartner
tpartner replied the 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

Please Log in to join the conversation.

More
10 months 3 weeks ago #146391 by DenisChenu
DenisChenu replied the 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 service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!