diff --git a/index.php b/index.php index b2e81e0..3c44203 100755 --- a/index.php +++ b/index.php @@ -66,8 +66,8 @@ switch ($mode) { break; case 'phase': $template = 'change.html.twig'; - $variables['imageWithElement'] = 'img/'.$phase.'-with.png'; - $variables['imageWithoutElement'] = 'img/'.$phase.'-without.png'; + $variables['imageWithElement'] = 'img/'.$phase.'-with.jpg'; + $variables['imageWithoutElement'] = 'img/'.$phase.'-without.jpg'; $variables['step_count'] = $index; // Store the participant ID with some simple validation to prevent SQL injection if (isset($_POST['participantid'])) { diff --git a/js/change.js b/js/change.js index 8d32949..1f6e856 100644 --- a/js/change.js +++ b/js/change.js @@ -1,6 +1,6 @@ // Script settings. -var slideDuration = 500; -var blankDuration = 200; +var slideDuration = 600; +var blankDuration = 400; // Script internals. var $currentSlide;