diff -r f905a56cc7e6 -r f7bfdc49982b web/choix.html --- a/web/choix.html Tue Dec 11 19:49:17 2012 +0100 +++ b/web/choix.html Tue Dec 11 21:13:42 2012 +0100 @@ -54,10 +54,12 @@ incResize.init("content", null, "mosaic", null, null, 130, 1920/809, null, incMosaic.registerPostNewCanvasSize); // Set the mosaic effect - incChoice.setMosaicEffect(["choix1fond1.jpg", "choix1fond2.jpg", "choix1fond3.jpg"], - ["choix2fond1.jpg", "choix2fond2.jpg", "choix2fond3.jpg"], - "choix_2.html"); - incChoice.currentWorldIndex = 0; + incChoice.setMosaicImages(["choix1fond1.jpg", "choix1fond2.jpg", "choix1fond3.jpg"], + ["choix2fond1.jpg", "choix2fond2.jpg", "choix2fond3.jpg"], + ["choix3fond1.jpg", "choix3fond2.jpg", "choix3fond3.jpg"]); + + // Set the list of words and the mosaic effect + incChoice.setWordsAndEffect(0); });