This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
en:create:questions:random [26.11.2016 14:52] – admin | en:create:questions:random [28.07.2019 12:39] – [Application] urbanalgae | ||
---|---|---|---|
Line 56: | Line 56: | ||
} | } | ||
</ | </ | ||
+ | |||
+ | |||
+ | //in case your image width does not display properly, you can include this coding for width for the html code: | ||
+ | |||
+ | html(' | ||
+ | <img src="' | ||
+ | </ | ||
+ | '); | ||
Line 72: | Line 80: | ||
// Array, that saves an image for every group | // Array, that saves an image for every group | ||
$bilder = array( | $bilder = array( | ||
- | 1 => stimulusA2.jpg | + | 1 => 'stimulusA2.jpg', |
- | 2 = stimulusB2.jpg | + | 2 => 'stimulusB2.jpg', |
- | 3 = stimulusC2.jpg | + | 3 => 'stimulusC2.jpg' |
); | ); | ||
// With the square brackets an element from the array is read | // With the square brackets an element from the array is read |