Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:
  • Page:
  • 1
  • 2

TOPIC: how to hide the number of slide layout?

how to hide the number of slide layout? 2 years 6 months ago #108521

  • iscar
  • iscar's Avatar
  • Offline
  • Banned
  • Posts: 292
  • Thank you received: 1
  • Karma: -4
how to hide the 0.5 when participant move the slide?

The administrator has disabled public write access.

how to hide the number of slide layout? 2 years 6 months ago #108530

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6574
  • Thank you received: 1477
  • Karma: 579
To remove the slider callouts in all questions, add this to the end of template.css:
.slider_callout {
    display: none;
}
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

how to hide the number of slide layout? 2 years 6 months ago #108550

  • iscar
  • iscar's Avatar
  • Offline
  • Banned
  • Posts: 292
  • Thank you received: 1
  • Karma: -4
thanks!
may i set the survey level or question level css like that?
The administrator has disabled public write access.

how to hide the number of slide layout? 2 years 6 months ago #108571

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6574
  • Thank you received: 1477
  • Karma: 579
As stated, that is survey-level.

For question level (where 123 is your question ID):
#question123 .slider_callout {
    display: none;
}
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last Edit: 2 years 6 months ago by tpartner.
The administrator has disabled public write access.

how to hide the number of slide layout? 2 years 3 months ago #112093

  • Crusty
  • Crusty's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
I have tried this a bunch of times and it just doesn't work for me. :(

Reference is made to "Question ID" however, in the manual there is reference to "Question Code" and "SGQA", but not "Question ID". So, I don't know where to find the "Question ID", I can only find the "Question Code" (Expression Manager) or the "SGQA".

I'm using Version 2.05+ Build 140217 and I'm adding the line to the end of the "Question Page" template.css - I just can't get it to work, the numbers continue to show up on the sliders.

There should be the option to switch the numbers off because when using a semantic differential layout you really don't want to influence responses with a negative sign on anything that's on the left side of centre.

Cheers,

Trevor
Last Edit: 2 years 3 months ago by Crusty. Reason: correction
The administrator has disabled public write access.

how to hide the number of slide layout? 2 years 3 months ago #112106

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6574
  • Thank you received: 1477
  • Karma: 579
You can see the question ID when editing the question - image below.




.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last Edit: 2 years 3 months ago by tpartner.
The administrator has disabled public write access.

how to hide the number of slide layout? 1 year 6 days ago #129083

  • Crusty
  • Crusty's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
Help Please.

I have managed to get this to work sometimes, but I have tried everything and it just doesn't work with version 2.05+ hosted by LimeService.

It's imperative that values not be visible when using semantic differentials as neither end of the scale should be deemed positive or negative. I really can't understand why such an essential feature is impossible to get working and why the ability to just switch the numbers off isn't a standard feature for this question type.

Is there a way to completely eliminate the values on sliders for all templates by default?

I have tried removing all reference to .slider_callout in all of the css files but that doesn't work either.

Please let me know how to completely get rid of these values.

Cheers,

Trevor
The administrator has disabled public write access.

how to hide the number of slide layout? 1 year 5 days ago #129088

  • Ben_V
  • Ben_V's Avatar
  • Offline
  • Platinum Lime
  • Posts: 1897
  • Thank you received: 469
  • Karma: 118
Have you cleared your browser cache?
Please make a try pasting the following code directly in the source of your question
<script type="text/javascript">
    $(document).ready(function() {
	$("<style type='text/css'>"
	+ ".slider_callout { display:none !important}"
	+"</style>").appendTo( "head" );
    });
</script>
Is there a way to completely eliminate the values on sliders for all templates by default?
can be done with a plugin...
BenoƮt

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
All LS releases => bit.ly/1VMuTDu | 2.06lts => bit.ly/1Qv44A1
Demo surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Last Edit: 1 year 5 days ago by Ben_V.
The administrator has disabled public write access.
The following user(s) said Thank You: Crusty

how to hide the number of slide layout? 1 year 5 days ago #129094

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6574
  • Thank you received: 1477
  • Karma: 579
The CSS solutions provided earlier in this thread should work for any template. Can you activate a test survey for us to see?
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

how to hide the number of slide layout? 1 year 5 days ago #129106

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5446
  • Thank you received: 814
  • Karma: 240
I really can't understand why such an essential feature is impossible to get working and why the ability to just switch the numbers off isn't a standard feature for this question type.

Because there are probably not enough developers for all the things that would be great to have?
Because there is a very small group of people actually supporting the Limesurvey project?
Because most people don't use the slider for semantic diferential?
Because... [feel free to add more reasons]
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | [url=https://manual.limesurvey.org/Workarounds[/url]

If you found this answer helpful and it saved you some time please consider a [url=https://donate.limesurvey.org[/url] to the...
The administrator has disabled public write access.

how to hide the number of slide layout? 1 year 4 days ago #129112

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9600
  • Thank you received: 1376
  • Karma: 390
holch wrote:
...
Because... [feel free to add more reasons]
One more for me : because LimeSUrvey GUI is already too complex and needed to be cleaned before adding new feature.

For example : have hability to offer a GUI with just major question type and question advanced settings; allow to activate "other question tye" and "other question feature".

Denis
PS :actually : hiding slider_callout for ALL survey with all template can be done in an external plugin.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
Last Edit: 1 year 4 days ago by DenisChenu.
The administrator has disabled public write access.

how to hide the number of slide layout? 1 year 4 days ago #129119

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5446
  • Thank you received: 814
  • Karma: 240
I don't think that limesurvey is too complex. I also don't like the idea to have everything in a plugin. I think plugins should be actually only used for very specific things that no one else might want/need because it is so particular to a specific setup.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | [url=https://manual.limesurvey.org/Workarounds[/url]

If you found this answer helpful and it saved you some time please consider a [url=https://donate.limesurvey.org[/url] to the...
The administrator has disabled public write access.

how to hide the number of slide layout? 1 year 4 days ago #129121

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9600
  • Thank you received: 1376
  • Karma: 390
Hi,

Seriously : actually i have to show "default answer" , "Array filter" , "Question validation equation" because this settings is really used a lot but find in a very big page with a lot of never used settings.

And actualy : hide the number is a specific need, not a general need. After : why not a "color choose" for the number, a font-size choose etc ..... You can have a HTML of 20 screen size ... or more : then no one know the really needed and intersting settinsg.

PS: actually : moving "slider" systemto a plugin (can be deactivated" allow to replace the plugin by another one , or have "slider" simple, "slider" lot of settings.
PS2: slider with "step" is a good idea too, but add again and again a setting is something i don't want to do.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
Last Edit: 1 year 4 days ago by DenisChenu.
The administrator has disabled public write access.

how to hide the number of slide layout? 1 year 4 days ago #129122

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5446
  • Thank you received: 814
  • Karma: 240
I agree to "show/hide number" being a specific need. But I also see the tendency on this forum that any request, anything that comes up is said that it is possible to do in a plugin. But there are basically no plugins available (at least no stable ones).

And I can see what happens with plugins in Drupal or Wordpress. Whenever a new version comes out you have to wait about a year until all the plugins you need are adapted to the new version. I don't think that is a good way to go.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | [url=https://manual.limesurvey.org/Workarounds[/url]

If you found this answer helpful and it saved you some time please consider a [url=https://donate.limesurvey.org[/url] to the...
The administrator has disabled public write access.

how to hide the number of slide layout? 1 year 3 days ago #129125

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9600
  • Thank you received: 1376
  • Karma: 390
holch wrote:
....But I also see the tendency on this forum that any request, anything that comes up is said that it is possible to do in a plugin. ....
Only me,
and here : template issue .....
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.603 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form