shuffle question order for flashcards
Submitted by amarino on Wed, 10/08/2014 - 22:18
Forums:
Hello is it possible to change the flashcards.js so that the question order isn't always the same, and if yes how?
Thanks in advance
Did you know the H5P Community Conference is in Savannah
Get $100 off your in person ticket when you register with the code:
H5PVIP100
See how IBM increased their efficiency by up to 30%!
fnoks
Wed, 10/15/2014 - 08:59
Permalink
This is possible by doing
This is possible by doing something like this:
this.options.cards = H5P.shuffleArray(this.options.cards);
Put this in the constructor or the attach function.
Be aware all local changes to the H5P files will be overwritten if you update the libraries.
danieljcroberts
Sun, 11/30/2014 - 21:25
Permalink
default
Thank you for this informaiton. I would suggest it would be an enhancement if the flashcards library was random by default and ideally the option to turn off random available within the UI. This is just a future enhancement suggestion. Great job for the work around.
falcon
Mon, 12/01/2014 - 20:57
Permalink
Great feedback, thanks!We'll
Great feedback, thanks!
We'll consider it next time we upgrade flashcards