Changing the position of numbers in a slider question | XM Community
Skip to main content
Question

Changing the position of numbers in a slider question

  • September 5, 2020
  • 4 replies
  • 68 views

Hi, I have a slider question in my survey, my minimum value is 0 and maximum is 100. I wanted to know if there is any code which allows me to make these numbers appear on both ends of the line (currently they appear above it). I also don't want the other numbers in between to be shown.

4 replies

rondev
Level 6 ●●●●●●
Forum|alt.badge.img+22
  • Level 6 ●●●●●●
  • September 5, 2020

Use the below code to hide all lables except 0 and 100:
jQuery('.numbers li').not('.first , .last').css("visibility","collapse");


  • Author
  • September 12, 2020

Is it possible to put a percentage sign next to the number that is shown above the slider when you move it?


rondev
Level 6 ●●●●●●
Forum|alt.badge.img+22
  • Level 6 ●●●●●●
  • September 12, 2020

  • Author
  • September 12, 2020

Do you have a code for that?