Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 48 of 48

Thread: Slider size (case 17391)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2005
    Posts
    3,328
    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.

  2. #2
    Join Date
    May 2006
    Posts
    12
    Here they are. Thanks for the help.
    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.
    Attached Files Attached Files
    Last edited by jarvis24; 07-01-2008 at 01:42 PM.

  3. #3
    Join Date
    May 2006
    Posts
    12
    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.

  4. #4
    Join Date
    May 2006
    Posts
    12
    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.

  5. #5
    Join Date
    Nov 2005
    Posts
    3,328
    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.

  6. #6
    Join Date
    May 2011
    Posts
    1
    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?

  7. #7
    Join Date
    Nov 2010
    Posts
    4

    Slider and handle modifications

    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.
    Attached Files Attached Files

Similar Threads

  1. MediaLab Version 2008.1
    By jarvis24 in forum MediaLab v2018: Version History
    Replies: 9
    Last Post: 08-18-2024, 05:19 PM
  2. DirectRT Version 2008.1
    By jarvis24 in forum DirectRT v2018: Version History
    Replies: 7
    Last Post: 10-26-2018, 07:28 AM
  3. Version / Backwards Compatibility (case 40)
    By jarvis24 in forum Pre-Sales and Licensing FAQ
    Replies: 4
    Last Post: 07-23-2012, 10:12 AM
  4. older versions and MediaLab 2008
    By NancyBrodsky in forum MediaLab Older Versions: General Questions
    Replies: 3
    Last Post: 04-07-2008, 01:38 PM
  5. Run-only version?
    By mha in forum Pre-Sales and Licensing FAQ
    Replies: 1
    Last Post: 09-25-2007, 07:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •