Yes--MediaLab saves a copy of the HTML file that is actually presented.. I believe it will have a "temp" in the filename. Can you run it once with <ml.bg> and once with the image name and then look at the difference in the actual html files that are generated? How can zip and post them here if you like and I'll be happy to take a look.
I ran it as you suggested and have attached both of the TEMP files in the zip file. The _bg file is when I used <ml.bg> and the _pic file is when the actual filename of the picture was used. Everything looks pretty much the same to me. I have it set-up so that a picture (1 of 146) is randomly selected, so the picture filenames are different between the two runs, but that should not have affected anything. Any advice for this java novice is welcomed!
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.