Skip to content
Martijn Willemsen edited this page Nov 19, 2017 · 3 revisions

The demo included in files has 3 pages: tv.php, gamble.php and gamble2.php

  • tv.php shows two or three options (depending on the condnum) with images, blur on some attributes and randomized attribute order. this page links to...
  • gamble.php shows a complex display of two gambles with three outcomes/probability pairs each, as defined in the JSON file gamble.json as set "dynSet". The two options are in columns and different layouts are used for the rows containing the three outcomes. Options are counterbalanced based on condnum, order of attributes is randomized.
  • gamble2.php uses the same JSON file as gamble, but uses the second set (dynSet2) in the json file which flips the columns and rows with a different layout.

Data can be viewed with the datalyser, just as in mouselabWEB 1.0. Not all new features have been ported to the datalyser (such as replay). The current version captures touch events labeled as touchover an touchout, but the datalyser does not yet process these.

You can test a live demo at: http://www.mouselabweb.org/MLWEB20demo/tv.php?subject=[yourname]&condnum=0

Clone this wiki locally