Solved
Customising the image on a graphic slider
I am looking to pilot a survey study and want to test the graphical slider (smile), the graphics for the neutral and positive conditions are great, but the negative ones are super angry rather than just sad. Is it possible to change the graphics with styling or java, if so has anyone done it and can they share their code?
Thanks in adv.
M
Best answer by TomG
@markw & @jpardicusick,
Yes, you can replace images in a graphical slider using JS. For example, to replace first image:
```
var imgs = jQuery("#"+this.questionId+" div.SSImage > div.SSImage');
imgs[0].style.background = "url(https://image_url_goes_here) no-repeat";
```
View originalLeave a Reply
Rich Text Editor, editor1
Editor toolbars
Press ALT 0 for help
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.