Hello, there. I posted a question in a forum yesterday that I think is more appropriate for this sub-forum. You can access the original question here, but I'll also detail the specifics to this post. I would like to use JavaScript to have the background of slider questions (draggable bars) in my survey change from blue (all the way to the left; i.e., 0) to red on the right (i.e., 100) _as the user slides_ the icon. I would like to accomplish something similar to this colored jQuery UI slider. However, I only want the color to be blue-to-red (not the full range of colors in the provided example). I'd like to be able to do this using JavaScript for specific draggable bars questions because not all questions (sliders will not; bars will) will have this color option. I am aware of this post on how to change the background image of the slider, but this is _not_ what I want to achieve. I found a way to get the bar to change in a way that _is close_ to what I desire. If I use the c
Hello, Qualtrics Community. I have searched through the community but have not been able to find a specific answer for this. So, if it has been asked before I apologize. I would like to take the maximum value that appears above the grid line for a slider question and add commas to this number. For example, one end-point is the number 100,000; however, this number displays as: 100000 (which can be difficult to determine that it is 100 thousand at a glance). Does anyone have any suggestions for using javascript to change this on the slider questions? I found this code on Stack Overflow but can't seem to get it to work for the grid-line values: ` function commaSeparateNumber(val){ while (/(\\d+)(\\d{3})/.test(val.toString())){ val = val.toString().replace(/(\\d+)(\\d{3})/, '$1'+','+'$2'); } return val; }` I also found this post in the community about adjusting the size of the numbers and this post includes information for adding a pe
I would like to use JavaScript to have the background of slider questions (draggable bars) in my survey change from blue (all the way to the left; i.e., 0) to red on the right (i.e., 100) _as the user slides_ the icon. I would like to accomplish something similar to this colored jQuery UI slider. However, I only want the color to be blue-to-red (not the full range of colors in the provided example). I'd like to be able to do this using JavaScript for specific draggable bars questions because not all questions (sliders will not; bars will) will have this color option. I am aware of this post on how to change the background image of the slider, but this is _not_ what I want to achieve. Thanks in advance for any help or info you can provide!
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.