Shuffle <ol> list in JCloze, and display a maximum of 10 <li> items

11 views
Skip to first unread message

Sean Penney

unread,
Feb 27, 2026, 7:24:26 AMFeb 27
to hotpotatoesusers
If I create an <ol> with 15 sentences (each with its own gap), how do I in HP7:
1) shuffle the <li> items each time the .html page loads, and
2) limit the .html page to just 10 of the 15 <li> items?

Agnès S.

unread,
Feb 28, 2026, 2:10:51 AM (14 days ago) Feb 28
to hotpotat...@googlegroups.com
Hi Sean,
I can answer the first question . See :
https://hotpot.uvic.ca/howto/shuffle.htm
You can find the js file with the modification here :
http://hpaddons.free.fr/tips/Jcloze7_shuffle/Jcloze7_shuffle.zip

Cheers
Agnès S.
> --
> You received this message because you are subscribed to the Google
> Groups "hotpotatoesusers" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to hotpotatoesuse...@googlegroups.com
> <mailto:hotpotatoesuse...@googlegroups.com>.
> To view this discussion, visit https://groups.google.com/d/msgid/
> hotpotatoesusers/97ab85a9-3625-4787-9799-9bf64ddee675n%40googlegroups.com <https://groups.google.com/d/msgid/hotpotatoesusers/97ab85a9-3625-4787-9799-9bf64ddee675n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Reply all
Reply to author
Forward
0 new messages