Does somebody know how to include a reference point (static sign) in a draggable slider? | XM Community
Skip to main content
Question

Does somebody know how to include a reference point (static sign) in a draggable slider?

  • July 21, 2020
  • 1 reply
  • 7 views

I have a draggable slider question and I want respondents to answer while they can see in the slider graph a reference point with which they can compare their answer. Is there maybe a java code or any other solution for this objective?

1 reply

Appzk
QPN Level 5 ●●●●●
Forum|alt.badge.img+34
  • QPN Level 5 ●●●●●
  • July 21, 2020

Hi HelenaC ,
Below code should help you when you paste this in JS:
$("ul:nth-child(2) li:nth-child(1)").html('1')
$("ul:nth-child(2) li:nth-child(2)").html('10')
$("ul:nth-child(2) li:nth-child(3)").html('20')
$("ul:nth-child(2) li:nth-child(4)").html('30')
$("ul:nth-child(2) li:nth-child(5)").html('40')
$("ul:nth-child(2) li:nth-child(6)").html('50')
$("ul:nth-child(2) li:nth-child(7)").html('60')
$("ul:nth-child(2) li:nth-child(8)").html('70')
$("ul:nth-child(2) li:nth-child(9)").html('80')
$("ul:nth-child(2) li:nth-child(10)").html('90')
$("ul:nth-child(2) li:nth-child(11)").html(' 100')