Skip to content
Discussion options

You must be logged in to vote

Hi @sebgok,

I was able to find a solution by using jsPsych's ability to display in a specific HTML element on the page.

I set up a page with a <div> for the jsPsych experiment and an <iframe> of content:

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <script src="jspsych-6.3.0/jspsych.js"></script>
    <script src="jspsych-6.3.0/plugins/jspsych-html-button-response.js"></script>
    <script src="jspsych-6.3.0/plugins/jspsych-call-function.js"></script>
    <link
      rel="stylesheet"
      type="text/css"
      href="jspsych-6.…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by jodeleeuw
Comment options

You must be logged in to vote
2 replies
@jodeleeuw
Comment options

@sebgok
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants