winteram/IAT — pull request #8 by thomasschubert (2013-06-03 10:41:49+00:00)
Title: embeddable version compatible with original

hi,
check out this revised embeddable version. It has two paramters in input.txt that need to be introduced to the experimenter manager if you pull: "running" and "nextURL". If running is "", behavior is just as in your original version. If running is "embedded", the behavior switches:

If running is "embedded",
- instruct0embedded.html is displayed
- subID is taken from the location.search
- after final screen, window.location is set to nextURL

Please feel free to introduce changes, improve the script, or change the names of those attributes.

I am sure this can be done more elegantly with jQuery functions, but I am not familiar with it.

best,
thomas