fix broken links

This commit is contained in:
Josh de Leeuw 2021-08-30 10:10:31 -04:00
parent 984ce8761a
commit 5b7ca0c236
9 changed files with 24 additions and 24 deletions

View File

@ -56,7 +56,7 @@ In addition to the [default data collected by all plugins](/overview/plugins#dat
```
=== "Demo"
<div style="text-align:center;">
<iframe src="./demos/jspsych-iat-html-demo1.html" width="90%;" height="650px;" frameBorder="0"></iframe>
<iframe src="/demos/jspsych-iat-html-demo1.html" width="90%;" height="650px;" frameBorder="0"></iframe>
</div>
<a target="_blank" rel="noopener noreferrer" href="./demos/jspsych-iat-html-demo1.html">Open demo in new tab</a>
<a target="_blank" rel="noopener noreferrer" href="/demos/jspsych-iat-html-demo1.html">Open demo in new tab</a>

View File

@ -56,7 +56,7 @@ In addition to the [default data collected by all plugins](/overview/plugins#dat
```
=== "Demo"
<div style="text-align:center;">
<iframe src="./demos/jspsych-iat-image-demo1.html" width="90%;" height="650px;" frameBorder="0"></iframe>
<iframe src="/demos/jspsych-iat-image-demo1.html" width="90%;" height="650px;" frameBorder="0"></iframe>
</div>
<a target="_blank" rel="noopener noreferrer" href="./demos/jspsych-iat-image-demo1.html">Open demo in new tab</a>
<a target="_blank" rel="noopener noreferrer" href="/demos/jspsych-iat-image-demo1.html">Open demo in new tab</a>

View File

@ -48,7 +48,7 @@ stimulus | string | The path of the image that was displayed.
```
=== "Demo"
<div style="text-align:center;">
<iframe src="./demos/jspsych-image-button-response-demo1.html" width="90%;" height="600px;" frameBorder="0"></iframe>
<iframe src="/demos/jspsych-image-button-response-demo1.html" width="90%;" height="600px;" frameBorder="0"></iframe>
</div>
<a target="_blank" rel="noopener noreferrer" href="./demos/jspsych-image-button-response-demo1.html">Open demo in new tab</a>
<a target="_blank" rel="noopener noreferrer" href="/demos/jspsych-image-button-response-demo1.html">Open demo in new tab</a>

View File

@ -45,10 +45,10 @@ In addition to the [default data collected by all plugins](/overview/plugins#dat
```
=== "Demo"
<div style="text-align:center;">
<iframe src="./demos/jspsych-image-keyboard-response-demo1.html" width="90%;" height="600px;" frameBorder="0"></iframe>
<iframe src="/demos/jspsych-image-keyboard-response-demo1.html" width="90%;" height="600px;" frameBorder="0"></iframe>
</div>
<a target="_blank" rel="noopener noreferrer" href="./demos/jspsych-image-keyboard-response-demo1.html">Open demo in new tab</a>
<a target="_blank" rel="noopener noreferrer" href="/demos/jspsych-image-keyboard-response-demo1.html">Open demo in new tab</a>
???+ example "Displaying image for a fixed duration; no response allowed"
=== "Code"
@ -63,7 +63,7 @@ In addition to the [default data collected by all plugins](/overview/plugins#dat
```
=== "Demo"
<div style="text-align:center;">
<iframe src="./demos/jspsych-image-keyboard-response-demo2.html" width="90%;" height="600px;" frameBorder="0"></iframe>
<iframe src="/demos/jspsych-image-keyboard-response-demo2.html" width="90%;" height="600px;" frameBorder="0"></iframe>
</div>
<a target="_blank" rel="noopener noreferrer" href="./demos/jspsych-image-keyboard-response-demo2.html">Open demo in new tab</a>
<a target="_blank" rel="noopener noreferrer" href="/demos/jspsych-image-keyboard-response-demo2.html">Open demo in new tab</a>

View File

@ -53,7 +53,7 @@ slider_start | numeric | The starting value of the slider.
```
=== "Demo"
<div style="text-align:center;">
<iframe src="./demos/jspsych-image-slider-response-demo1.html" width="90%;" height="850px;" frameBorder="0"></iframe>
<iframe src="/demos/jspsych-image-slider-response-demo1.html" width="90%;" height="850px;" frameBorder="0"></iframe>
</div>
<a target="_blank" rel="noopener noreferrer" href="./demos/jspsych-image-slider-response-demo1.html">Open demo in new tab</a>
<a target="_blank" rel="noopener noreferrer" href="/demos/jspsych-image-slider-response-demo1.html">Open demo in new tab</a>

View File

@ -41,8 +41,8 @@ response | object | An object with two keys, `left` and `right`, containing the
```
=== "Demo"
<div style="text-align:center;">
<iframe src="../demos/jspsych-maxdiff-demo1.html" width="90%;" height="500px;" frameBorder="0"></iframe>
<iframe src="./demos/jspsych-maxdiff-demo1.html" width="90%;" height="500px;" frameBorder="0"></iframe>
</div>
<a target="_blank" rel="noopener noreferrer" href="../demos/jspsych-maxdiff-demo1.html">Open demo in new tab</a>
<a target="_blank" rel="noopener noreferrer" href="./demos/jspsych-maxdiff-demo1.html">Open demo in new tab</a>

View File

@ -85,10 +85,10 @@ In addition to the [default data collected by all plugins](/overview/plugins#dat
```
=== "Demo"
<div style="text-align:center;">
<iframe src="../demos/jspsych-rdk-demo1.html" width="90%;" height="500px;" frameBorder="0"></iframe>
<iframe src="./demos/jspsych-rdk-demo1.html" width="90%;" height="500px;" frameBorder="0"></iframe>
</div>
<a target="_blank" rel="noopener noreferrer" href="../demos/jspsych-rdk-demo1.html">Open demo in new tab</a>
<a target="_blank" rel="noopener noreferrer" href="./demos/jspsych-rdk-demo1.html">Open demo in new tab</a>
???+ example "Displaying a trial with 2 choices and 1 correct choice"
=== "Code"
@ -106,10 +106,10 @@ In addition to the [default data collected by all plugins](/overview/plugins#dat
```
=== "Demo"
<div style="text-align:center;">
<iframe src="../demos/jspsych-rdk-demo2.html" width="90%;" height="500px;" frameBorder="0"></iframe>
<iframe src="./demos/jspsych-rdk-demo2.html" width="90%;" height="500px;" frameBorder="0"></iframe>
</div>
<a target="_blank" rel="noopener noreferrer" href="../demos/jspsych-rdk-demo2.html">Open demo in new tab</a>
<a target="_blank" rel="noopener noreferrer" href="./demos/jspsych-rdk-demo2.html">Open demo in new tab</a>
???+ example "Displaying a trial with multiple apertures"
=== "Code"
@ -127,7 +127,7 @@ In addition to the [default data collected by all plugins](/overview/plugins#dat
```
=== "Demo"
<div style="text-align:center;">
<iframe src="../demos/jspsych-rdk-demo3.html" width="90%;" height="500px;" frameBorder="0"></iframe>
<iframe src="./demos/jspsych-rdk-demo3.html" width="90%;" height="500px;" frameBorder="0"></iframe>
</div>
<a target="_blank" rel="noopener noreferrer" href="../demos/jspsych-rdk-demo3.html">Open demo in new tab</a>
<a target="_blank" rel="noopener noreferrer" href="./demos/jspsych-rdk-demo3.html">Open demo in new tab</a>

View File

@ -48,7 +48,7 @@ rt | numeric | The length of time, in milliseconds, that the trial lasted.
```
=== "Demo"
<div style="text-align:center;">
<iframe src="../demos/jspsych-reconstruction-demo1.html" width="90%;" height="500px;" frameBorder="0"></iframe>
<iframe src="./demos/jspsych-reconstruction-demo1.html" width="90%;" height="500px;" frameBorder="0"></iframe>
</div>
<a target="_blank" rel="noopener noreferrer" href="../demos/jspsych-reconstruction-demo1.html">Open demo in new tab</a>
<a target="_blank" rel="noopener noreferrer" href="./demos/jspsych-reconstruction-demo1.html">Open demo in new tab</a>

View File

@ -39,7 +39,7 @@ scale_factor | numeric | Scaling factor that will be applied to the div containi
```
=== "Demo"
<div style="text-align:center;">
<iframe src="../demos/jspsych-resize-demo1.html" width="90%;" height="500px;" frameBorder="0"></iframe>
<iframe src="./demos/jspsych-resize-demo1.html" width="90%;" height="500px;" frameBorder="0"></iframe>
</div>
<a target="_blank" rel="noopener noreferrer" href="../demos/jspsych-resize-demo1.html">Open demo in new tab</a>
<a target="_blank" rel="noopener noreferrer" href="./demos/jspsych-resize-demo1.html">Open demo in new tab</a>