move all demos into root /demos folder in docs
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 6.5 KiB |
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 6.6 KiB |
Before Width: | Height: | Size: 8.3 KiB After Width: | Height: | Size: 8.3 KiB |
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 6.5 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 3.0 MiB After Width: | Height: | Size: 3.0 MiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
@ -43,8 +43,8 @@ response | array | An array, where each element is an object representing a resp
|
|||||||
|
|
||||||
=== "Demo"
|
=== "Demo"
|
||||||
<div style="text-align:center;">
|
<div style="text-align:center;">
|
||||||
<iframe src="../demos/jspsych-animation-demo.html" width="90%;" height="500px;" frameBorder="0"></iframe>
|
<iframe src="/demos/jspsych-animation-demo.html" width="90%;" height="500px;" frameBorder="0"></iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<a target="_blank" rel="noopener noreferrer" href="../demos/jspsych-animation-demo.html">Open demo in new tab</a>
|
<a target="_blank" rel="noopener noreferrer" href="/demos/jspsych-animation-demo.html">Open demo in new tab</a>
|
@ -49,10 +49,10 @@ In addition to the [default data collected by all plugins](/overview/plugins#dat
|
|||||||
|
|
||||||
=== "Demo"
|
=== "Demo"
|
||||||
<div style="text-align:center;">
|
<div style="text-align:center;">
|
||||||
<iframe src="../demos/jspsych-audio-button-response-demo-1.html" width="90%;" height="500px;" frameBorder="0"></iframe>
|
<iframe src="/demos/jspsych-audio-button-response-demo-1.html" width="90%;" height="500px;" frameBorder="0"></iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<a target="_blank" rel="noopener noreferrer" href="../demos/jspsych-audio-button-response-demo-1.html">Open demo in new tab</a>
|
<a target="_blank" rel="noopener noreferrer" href="/demos/jspsych-audio-button-response-demo-1.html">Open demo in new tab</a>
|
||||||
|
|
||||||
???+ example "Using custom button HTML to use images as buttons"
|
???+ example "Using custom button HTML to use images as buttons"
|
||||||
=== "Code"
|
=== "Code"
|
||||||
@ -68,7 +68,7 @@ In addition to the [default data collected by all plugins](/overview/plugins#dat
|
|||||||
|
|
||||||
=== "Demo"
|
=== "Demo"
|
||||||
<div style="text-align:center;">
|
<div style="text-align:center;">
|
||||||
<iframe src="../demos/jspsych-audio-button-response-demo-2.html" width="90%;" height="500px;" frameBorder="0"></iframe>
|
<iframe src="/demos/jspsych-audio-button-response-demo-2.html" width="90%;" height="500px;" frameBorder="0"></iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<a target="_blank" rel="noopener noreferrer" href="../demos/jspsych-audio-button-response-demo-2.html">Open demo in new tab</a>
|
<a target="_blank" rel="noopener noreferrer" href="/demos/jspsych-audio-button-response-demo-2.html">Open demo in new tab</a>
|
@ -48,10 +48,10 @@ In addition to the [default data collected by all plugins](/overview/plugins#dat
|
|||||||
|
|
||||||
=== "Demo"
|
=== "Demo"
|
||||||
<div style="text-align:center;">
|
<div style="text-align:center;">
|
||||||
<iframe src="../demos/jspsych-audio-keyboard-response-demo-1.html" width="90%;" height="500px;" frameBorder="0"></iframe>
|
<iframe src="/demos/jspsych-audio-keyboard-response-demo-1.html" width="90%;" height="500px;" frameBorder="0"></iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<a target="_blank" rel="noopener noreferrer" href="../demos/jspsych-audio-keyboard-response-demo-1.html">Open demo in new tab</a>
|
<a target="_blank" rel="noopener noreferrer" href="/demos/jspsych-audio-keyboard-response-demo-1.html">Open demo in new tab</a>
|
||||||
|
|
||||||
|
|
||||||
???+ example "Play a sound with no user response; trial ends after sound plays"
|
???+ example "Play a sound with no user response; trial ends after sound plays"
|
||||||
@ -67,7 +67,7 @@ In addition to the [default data collected by all plugins](/overview/plugins#dat
|
|||||||
|
|
||||||
=== "Demo"
|
=== "Demo"
|
||||||
<div style="text-align:center;">
|
<div style="text-align:center;">
|
||||||
<iframe src="../demos/jspsych-audio-keyboard-response-demo-2.html" width="90%;" height="500px;" frameBorder="0"></iframe>
|
<iframe src="/demos/jspsych-audio-keyboard-response-demo-2.html" width="90%;" height="500px;" frameBorder="0"></iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<a target="_blank" rel="noopener noreferrer" href="../demos/jspsych-audio-keyboard-response-demo-2.html">Open demo in new tab</a>
|
<a target="_blank" rel="noopener noreferrer" href="/demos/jspsych-audio-keyboard-response-demo-2.html">Open demo in new tab</a>
|
||||||
|
@ -54,10 +54,10 @@ In addition to the [default data collected by all plugins](/overview/plugins#dat
|
|||||||
|
|
||||||
=== "Demo"
|
=== "Demo"
|
||||||
<div style="text-align:center;">
|
<div style="text-align:center;">
|
||||||
<iframe src="../demos/jspsych-audio-slider-response-demo-1.html" width="90%;" height="500px;" frameBorder="0"></iframe>
|
<iframe src="/demos/jspsych-audio-slider-response-demo-1.html" width="90%;" height="500px;" frameBorder="0"></iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<a target="_blank" rel="noopener noreferrer" href="../demos/jspsych-audio-slider-response-demo-1.html">Open demo in new tab</a>
|
<a target="_blank" rel="noopener noreferrer" href="/demos/jspsych-audio-slider-response-demo-1.html">Open demo in new tab</a>
|
||||||
|
|
||||||
???+ example "No response allowed until audio finishes; subject must interact with slider to continue"
|
???+ example "No response allowed until audio finishes; subject must interact with slider to continue"
|
||||||
=== "Code"
|
=== "Code"
|
||||||
@ -74,7 +74,7 @@ In addition to the [default data collected by all plugins](/overview/plugins#dat
|
|||||||
|
|
||||||
=== "Demo"
|
=== "Demo"
|
||||||
<div style="text-align:center;">
|
<div style="text-align:center;">
|
||||||
<iframe src="../demos/jspsych-audio-slider-response-demo-2.html" width="90%;" height="500px;" frameBorder="0"></iframe>
|
<iframe src="/demos/jspsych-audio-slider-response-demo-2.html" width="90%;" height="500px;" frameBorder="0"></iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<a target="_blank" rel="noopener noreferrer" href="../demos/jspsych-audio-slider-response-demo-2.html">Open demo in new tab</a>
|
<a target="_blank" rel="noopener noreferrer" href="/demos/jspsych-audio-slider-response-demo-2.html">Open demo in new tab</a>
|
@ -39,10 +39,10 @@ value | any | The return value of the called function.
|
|||||||
|
|
||||||
=== "Demo"
|
=== "Demo"
|
||||||
<div style="text-align:center;">
|
<div style="text-align:center;">
|
||||||
<iframe src="../demos/jspsych-call-function-demo1.html" width="90%;" height="500px;" frameBorder="0"></iframe>
|
<iframe src="/demos/jspsych-call-function-demo1.html" width="90%;" height="500px;" frameBorder="0"></iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<a target="_blank" rel="noopener noreferrer" href="../demos/jspsych-call-function-demo1.html">Open demo in new tab</a>
|
<a target="_blank" rel="noopener noreferrer" href="/demos/jspsych-call-function-demo1.html">Open demo in new tab</a>
|
||||||
|
|
||||||
|
|
||||||
???+ example "Using an anonymous function to pass variables"
|
???+ example "Using an anonymous function to pass variables"
|
||||||
@ -63,10 +63,10 @@ value | any | The return value of the called function.
|
|||||||
|
|
||||||
=== "Demo"
|
=== "Demo"
|
||||||
<div style="text-align:center;">
|
<div style="text-align:center;">
|
||||||
<iframe src="../demos/jspsych-call-function-demo2.html" width="90%;" height="500px;" frameBorder="0"></iframe>
|
<iframe src="/demos/jspsych-call-function-demo2.html" width="90%;" height="500px;" frameBorder="0"></iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<a target="_blank" rel="noopener noreferrer" href="../demos/jspsych-call-function-demo2.html">Open demo in new tab</a>
|
<a target="_blank" rel="noopener noreferrer" href="/demos/jspsych-call-function-demo2.html">Open demo in new tab</a>
|
||||||
|
|
||||||
???+ example "Async function call: wait for data to be saved to a server"
|
???+ example "Async function call: wait for data to be saved to a server"
|
||||||
=== "Code"
|
=== "Code"
|
||||||
@ -115,9 +115,9 @@ value | any | The return value of the called function.
|
|||||||
```
|
```
|
||||||
=== "Demo"
|
=== "Demo"
|
||||||
<div style="text-align:center;">
|
<div style="text-align:center;">
|
||||||
<iframe src="../demos/jspsych-call-function-demo3.html" width="90%;" height="500px;" frameBorder="0"></iframe>
|
<iframe src="/demos/jspsych-call-function-demo3.html" width="90%;" height="500px;" frameBorder="0"></iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<a target="_blank" rel="noopener noreferrer" href="../demos/jspsych-call-function-demo3.html">Open demo in new tab</a>
|
<a target="_blank" rel="noopener noreferrer" href="/demos/jspsych-call-function-demo3.html">Open demo in new tab</a>
|
||||||
|
|
||||||
|
|
||||||
|
@ -70,10 +70,10 @@ Note: the canvas stimulus is *not* included in the trial data because it is a fu
|
|||||||
|
|
||||||
=== "Demo"
|
=== "Demo"
|
||||||
<div style="text-align:center;">
|
<div style="text-align:center;">
|
||||||
<iframe src="../demos/jspsych-canvas-button-response-demo1.html" width="90%;" height="500px;" frameBorder="0"></iframe>
|
<iframe src="/demos/jspsych-canvas-button-response-demo1.html" width="90%;" height="500px;" frameBorder="0"></iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<a target="_blank" rel="noopener noreferrer" href="../demos/jspsych-canvas-button-response-demo1.html">Open demo in new tab</a>
|
<a target="_blank" rel="noopener noreferrer" href="/demos/jspsych-canvas-button-response-demo1.html">Open demo in new tab</a>
|
||||||
|
|
||||||
???+ example "Using an anonymous stimulus function"
|
???+ example "Using an anonymous stimulus function"
|
||||||
=== "Code"
|
=== "Code"
|
||||||
@ -106,10 +106,10 @@ Note: the canvas stimulus is *not* included in the trial data because it is a fu
|
|||||||
|
|
||||||
=== "Demo"
|
=== "Demo"
|
||||||
<div style="text-align:center;">
|
<div style="text-align:center;">
|
||||||
<iframe src="../demos/jspsych-canvas-button-response-demo2.html" width="90%;" height="500px;" frameBorder="0"></iframe>
|
<iframe src="/demos/jspsych-canvas-button-response-demo2.html" width="90%;" height="500px;" frameBorder="0"></iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<a target="_blank" rel="noopener noreferrer" href="../demos/jspsych-canvas-button-response-demo2.html">Open demo in new tab</a>
|
<a target="_blank" rel="noopener noreferrer" href="/demos/jspsych-canvas-button-response-demo2.html">Open demo in new tab</a>
|
||||||
|
|
||||||
|
|
||||||
???+ example "Using the canvas stimulus function with timeline variables, and recording the correctness of responses"
|
???+ example "Using the canvas stimulus function with timeline variables, and recording the correctness of responses"
|
||||||
@ -154,7 +154,7 @@ Note: the canvas stimulus is *not* included in the trial data because it is a fu
|
|||||||
|
|
||||||
=== "Demo"
|
=== "Demo"
|
||||||
<div style="text-align:center;">
|
<div style="text-align:center;">
|
||||||
<iframe src="../demos/jspsych-canvas-button-response-demo3.html" width="90%;" height="500px;" frameBorder="0"></iframe>
|
<iframe src="/demos/jspsych-canvas-button-response-demo3.html" width="90%;" height="500px;" frameBorder="0"></iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<a target="_blank" rel="noopener noreferrer" href="../demos/jspsych-canvas-button-response-demo3.html">Open demo in new tab</a>
|
<a target="_blank" rel="noopener noreferrer" href="/demos/jspsych-canvas-button-response-demo3.html">Open demo in new tab</a>
|
||||||
|
@ -50,10 +50,10 @@ Note: the canvas stimulus is *not* included in the trial data because it is a fu
|
|||||||
```
|
```
|
||||||
=== "Demo"
|
=== "Demo"
|
||||||
<div style="text-align:center;">
|
<div style="text-align:center;">
|
||||||
<iframe src="../demos/jspsych-canvas-keyboard-response-demo1.html" width="90%;" height="500px;" frameBorder="0"></iframe>
|
<iframe src="/demos/jspsych-canvas-keyboard-response-demo1.html" width="90%;" height="500px;" frameBorder="0"></iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<a target="_blank" rel="noopener noreferrer" href="../demos/jspsych-canvas-keyboard-response-demo1.html">Open demo in new tab</a>
|
<a target="_blank" rel="noopener noreferrer" href="/demos/jspsych-canvas-keyboard-response-demo1.html">Open demo in new tab</a>
|
||||||
|
|
||||||
???+ example "Draw circle, no response allowed"
|
???+ example "Draw circle, no response allowed"
|
||||||
=== "Code"
|
=== "Code"
|
||||||
@ -78,7 +78,7 @@ Note: the canvas stimulus is *not* included in the trial data because it is a fu
|
|||||||
|
|
||||||
=== "Demo"
|
=== "Demo"
|
||||||
<div style="text-align:center;">
|
<div style="text-align:center;">
|
||||||
<iframe src="../demos/jspsych-canvas-keyboard-response-demo2.html" width="90%;" height="500px;" frameBorder="0"></iframe>
|
<iframe src="/demos/jspsych-canvas-keyboard-response-demo2.html" width="90%;" height="500px;" frameBorder="0"></iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<a target="_blank" rel="noopener noreferrer" href="../demos/jspsych-canvas-keyboard-response-demo2.html">Open demo in new tab</a>
|
<a target="_blank" rel="noopener noreferrer" href="/demos/jspsych-canvas-keyboard-response-demo2.html">Open demo in new tab</a>
|
||||||
|