I see what you mean. Could you post a copy of your que file and your custom html file? I'll run it here and see if I can figure out where the problem is.
I see what you mean. Could you post a copy of your que file and your custom html file? I'll run it here and see if I can figure out where the problem is.
Try running the attached revision (testfolder.zip) where the que file uses relative rather than absolute paths. I just tried it on my machine and it works ok now--at least with the test image I used. Note that I changed the the WGR value of the first trial to "none" for test purposes.Here they are. Thanks for the help.
Last edited by jarvis24; 07-01-2008 at 01:42 PM.
The html is now reading the image name from the background field. However, now the "question" variable is not reading the question wording from the que file and I am only getting "ok" as responses in the data, rather than numerical values.
Disregard the previous post. I am now able to have the question wording appear and the slider values recorded. Rather than using the substitutions at the bottom of the html page, I simply replaced the variable name (i.e. question) with the medialab variable (i.e. ml.wording) in the body of the html script.
Good to hear. The method of using the substitution HTML at the bottom of the HTML file was an early idea that I didn't end up liking very much. I personally prefer the direct substitution like you described. We left the older method functional though just in case anyone still wanted to use it. BTW, if you think any other users might benefit from what you learned, feel free to attach a sample that illustrates what you were able to do that's different from the basic sample above. In any case, glad to hear it's working for you now.
I realize I'm resurrecting this thread here, but I'm wondering if there is a way to modify the slider so that it only displays select increments (i.e., 0, 10, 20, 30,...., 100). I know this is a javascript modification and I tried messing around with the setUnitIncrement and setBlockIncrement methods, but nothing seems to be effected by any of the changes I make. Any tips?
Hi, when designing my questionnaire, I used the example which was originally posted right at the beginning of this thread titled 'slider.revised' to create the basis for my VAS questions, which has worked really well. However, I'm not particularly computer-minded when it comes to editing the slider or handle in note-pad or using java etc. What I would like if possible is to have a thin vertical line as a handle to make the pointer as accurate as possible.
In addition, is there a way of having two vertical lines at the end of the 'slider line' to act as endpoints (I have attached a simple diagram in MS word to illustrate what I mean).
Lastly, for the text labels at each end of the VAS, is it possible that these can be positioned on the same line as the 'slider'? (Again, i've tried to show what I mean in the word doc. attached).
Would this require a completely new slider example, and if so can you help?
Thanks very much,
Jenny.