Temporarily leaving JsPsych for external website?

88 views
Skip to first unread message

jeltevan...@gmail.com

unread,
Nov 20, 2017, 7:28:41 AM11/20/17
to jsPsych
Hi all,

I've successfully used JsPsych in a few experiments so far, great tool!

A colleague would like to run an experiment as well, but use his own implementation of a few sections. Is there any way to refer to an external HTML, wait for it to complete (say, implement a 'continue' button on the last page as with a consent form), and return to the JsPsych experiment? I am aware of the html-type but am unsure how this would work with complete websites rather than a specifically designed page.

An obvious workaround would be to open the external HTML in a different tab and instruct participants to complete it before continuing the experiment. There is some fear on our part however that people will struggle such a setup.

Thanks in advance!

Josh de Leeuw

unread,
Nov 20, 2017, 4:42:09 PM11/20/17
to jeltevan...@gmail.com, jsPsych
The only solution that I can think of would be to create a new plugin that implements this feature. Depending on the content, you could load the external page in an iframe and set up an event listener in the plugin that the external page would trigger. 

Alternatively, depending on what the other implementation involved, you could potentially wrap the entire implementation in a jsPsych plugin.


--
You received this message because you are subscribed to the Google Groups "jsPsych" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jspsych+u...@googlegroups.com.
To post to this group, send email to jsp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jspsych/3caf65c3-6e03-4ac3-b105-dd253f180395%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages