JCloze - am I dreaming?

39 views
Skip to first unread message

Robin Reeves

unread,
Nov 9, 2023, 3:21:39 PM11/9/23
to hotpotatoesusers
Hi

I thought I read somewhere that it is possible to have a JCloze file which, when you refresh it the lines come out in a new random order.

What I mean is, if I create a series of one line questions:
1) What is ....
2) Where is ....
3) How do ....

with gaps somewhere on each line and then click a setting somewhere, the .htm file might come out as:
3) ...
1} ...
2) ...

and the next time it is refreshed the order is
1) ...
3) ...
2) ...

Is this in one of Agnès' addons or am I dreaming?

Thanks,
Robin Reeves

Martin Holmes

unread,
Nov 9, 2023, 4:08:07 PM11/9/23
to hotpotat...@googlegroups.com
You can do this with JQuiz, where each question is a separate item with
a gap. It looks a bit different from JCloze in that the user doesn't
type in a gap, but the result is the same. Then you can set the
questions to shuffle.

Cheers,
Martin
> --
> 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 on the web, visit
> https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com?utm_medium=email&utm_source=footer>.

Agnès S.

unread,
Nov 9, 2023, 4:41:50 PM11/9/23
to hotpotat...@googlegroups.com
Hi,

I think you're dreaming...

Agnès S.

Martin Holmes

unread,
Nov 11, 2023, 6:01:13 PM11/11/23
to hotpotatoesusers
HI Robin,

If you can put the exercise somewhere we can see it, we can probably help.

Cheers,
Martin

On 2023-11-11 09:42, Robin Reeves wrote:
> Hi again Martin,
>
> I had another look at the Zip file you sent and saw that I hadn't read
> the Instruction file!
>
> However I have now made a "Shuffle" folder and copied the jcloze6.js_
> into it.
> I have reopened JCloze with my exercise and then set the source file
> location to be my "Shuffle" folder.
> I then made the web page and again the gaps are working but not the line
> shuffling.
>
> Having looked at the new web page in Notepad I can't see any mention of
> the lines in your MDH_Custom lines for the custom code for shuffling. A
> mystery?
>
> Robin
> ------------------------------------------------------------------------
> *From:* Robin Reeves <rob...@hotmail.co.uk>
> *Sent:* 11 November 2023 17:01
> *To:* Martin Holmes <mho...@halfbakedsoftware.com>
> *Subject:* Re: [hotpotatoesusers] JCloze - am I dreaming?
> Hi Martin,
>
> I'm using HP JCloze Version 7 Release 3.0 Build 0.
>
> I put the web page through the validator and it came up with 13
> "Trailing slash on void elements has no effect and behaves badly with
> unquoted attribute values." The first 5 errors were on lines 3 to 7 and
> were things like "|*registered to Robin Reeves."/>"*| then the remaining
> 8 were the same error message and were for things like |*id="Gap5"
> onfocus="TrackFocus(5)" onblur="LeaveGap()" class="GapBox" size="9"/>*|
> *
> *
> *I removed all the trailing /s causing the error messages, then saved
> the file with a new name. When I opened the web page the gaps are there,
> I can type in the answers and [Check] works correctly but if I refresh
> the page the lines don't shuffle.*
> *
> *
> *I've looked at the code and there is function Shuffle(InArray){ between
> lines 834 and 855.*
> *
> *
> *I can't share a link but I have attached the web page (without the /
> problems). Is that useful or would the .jcl be better?*
> *
> *
> *Thanks for your help.*
> *Regards,*
> *Robin*
> ------------------------------------------------------------------------
> *From:* Martin Holmes <mho...@halfbakedsoftware.com>
> *Sent:* 10 November 2023 16:15
> *To:* Robin Reeves <rob...@hotmail.co.uk>
> *Subject:* Re: [hotpotatoesusers] JCloze - am I dreaming?
> Hi there,
>
> Are you using HotPot 6 or HotPot 7?
>
> Have you validated the HTML file using the W3C validator service to make
> sure the HTML is correct?
>
> <https://validator.w3.org/ <https://validator.w3.org/>>
>
> Can you share a link to the exercise so we can see it?
>
> Cheers,
> Martin
>
> On 2023-11-10 08:00, Robin Reeves wrote:
>> Hi again Martin.
>>
>> I've downloaded the jcloze_shuffle.zip and extracted it to a folder
>> called JCloze_Shuffle. It contains shuffle.jcl, shuffle.htm and jcloze6.js_
>>
>> I decided to make a subfolder called Source and put another copy of
>> jcloze6.js_ in it.
>>
>> I have tried your shuffle.htm and every time I refresh it, the order of
>> the questions changes, so that's fine.
>>
>> I then took my own file which had 10 questions which I had numbered and
>> inserted the
>> <ol  id="ShuffleQuestions">
>> <li>   ......   </li>
>> on each line of my ten questions, then
>> </ol>
>> as in your shuffle.jcl file
>>
>> In the Configuration settings under Other your had a tick for 'Use
>> dropdown list...' and for 'Include wordlist..' so I did the same for my
>> .jcl file
>>
>> I then created the web page using the original source for hp7 and the
>> gap filling had worked and the questions were numbered but they didn't
>> change their order after a refresh.
>> I then tried setting the Source File location to be Source within my
>> JCloze_Shuffle folder and created the web page and again the gap filling
>> works but not the random order after a refresh.
>>
>> As I had put the jcoze6.js_ into the Source folder I made sure I also
>> had a copy in the same folder as my .jcl file as I know that when I use
>> Agnès mini audio play I need to have her player4.js in the same folder
>> as the .jmt file, but after creating a new web page it still doesn't
>> refresh the order.
>>
>> Am I missing something please?
>>
>> Regards,
>> Robin
>> ------------------------------------------------------------------------
>> *From:* Martin Holmes <mho...@halfbakedsoftware.com>
>> *Sent:* 09 November 2023 22:33
>> *To:* Robin Reeves <rob...@hotmail.co.uk>
>> *Subject:* Re: [hotpotatoesusers] JCloze - am I dreaming?
>> The example comes from HotPot 6, but I think adding the same code should
>> work in HotPot 7.
>>
>> Cheers,
>> Martin
>>
>> On 2023-11-09 11:26, Robin Reeves wrote:
>>> Brilliant. Thank you.
>>> Robin
>>>
>>> Sent from Outlook for Android <https://aka.ms/AAb9ysg <https://aka.ms/AAb9ysg <https://aka.ms/AAb9ysg>>>
>>> ------------------------------------------------------------------------
>>> *From:* Martin Holmes <mho...@halfbakedsoftware.com>
>>> *Sent:* Thursday, November 9, 2023 6:56:48 PM
>>> *To:* Robin Reeves <rob...@hotmail.co.uk>
>>> *Subject:* Re: [hotpotatoesusers] JCloze - am I dreaming?
>>> You're absolutely right -- I wrote this many many years ago:
>>>
>>> <https://hotpot.uvic.ca/howto/shuffle.htm
>>> <https://hotpot.uvic.ca/howto/shuffle.htm
>> <https://hotpot.uvic.ca/howto/shuffle.htm
> <https://hotpot.uvic.ca/howto/shuffle.htm>>>>
>>>
>>> Cheers,
>>> Martin
>>>
>>> On 2023-11-09 10:26, Robin Reeves wrote:
>>>> Thanks Martin. I was just trying to get the best of both worlds with
>>>> gaps and random order and I thought I had read about it somewhere but
>>>> obviously I was wrong. As I said, I must have been dreaming! I'll have
>>>> another think about your JQuiz idea.
>>>>
>>>> Robin
>>>>
>>>> Sent from Outlook for Android <https://aka.ms/AAb9ysg <https://aka.ms/AAb9ysg <https://aka.ms/AAb9ysg <https://aka.ms/AAb9ysg>>>>
>>>> ------------------------------------------------------------------------
>>>> *From:* Martin Holmes <mho...@halfbakedsoftware.com>
>>>> *Sent:* Thursday, November 9, 2023 5:34:31 PM
>>>> *To:* Robin Reeves <rob...@hotmail.co.uk>
>>>> *Subject:* Re: [hotpotatoesusers] JCloze - am I dreaming?
>>>> JCloze is really supposed to be about coherent texts, not individual
>>>> questions. It would be possible to write some JavaScript to do what you
>>>> want, but I don't think it would be in the spirit of what JCloze is, really.
>>>>
>>>> Cheers,
>>>> Martin
>>>>
>>>> On 2023-11-09 08:40, Robin Reeves wrote:
>>>>> Thanks Martin. I've tried it in JQuiz and see what you mean about the
>>>>> random order but I want the users to have to fill in the gaps so I'm not
>>>>> sure it will work in JQuiz.
>>>>>
>>>>> Regards,
>>>>> Robin
>>>>> ------------------------------------------------------------------------
>>>>> *From:* 'Martin Holmes' via hotpotatoesusers
>>>>> <hotpotat...@googlegroups.com>
>>>>> *Sent:* 09 November 2023 16:07
>>>>> *To:* hotpotat...@googlegroups.com <hotpotat...@googlegroups.com>
>>>>> *Subject:* Re: [hotpotatoesusers] JCloze - am I dreaming?
>>>>> <mailto:hotpotatoesuse...@googlegroups.com
>>>> <mailto:hotpotatoesuse...@googlegroups.com
>>> <mailto:hotpotatoesuse...@googlegroups.com
>> <mailto:hotpotatoesuse...@googlegroups.com
> <mailto:hotpotatoesuse...@googlegroups.com>>>>>>.
>>>>>> To view this discussion on the web, visit
>>>>>> https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com> <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com>> <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com>>> <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com>>>> <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com>>>>> <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com?utm_medium=email&utm_source=footer <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com?utm_medium=email&utm_source=footer <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com?utm_medium=email&utm_source=footer <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com?utm_medium=email&utm_source=footer <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com?utm_medium=email&utm_source=footer <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com?utm_medium=email&utm_source=footer>>>>>>.
>>>>>
>>>>> --
>>>>> 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.
>>>>> To view this discussion on the web, visit
>>>>> https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com> <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com>> <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com>>> <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com>>>> <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com>>>>>.

Martin Holmes

unread,
Nov 13, 2023, 5:10:46 PM11/13/23
to Robin Reeves, hotpotatoesusers
Hi Robin,

I'm still not sure whether you're using JCloze 6 or JCloze 7, but if
you're using 7 then it would ignore a source file with "6" in the filename.

I generally don't accept attachments to email, and since we don't
officially support Hot Potatoes any more (we stopped selling licences in
2009, and the company itself no longer exists), I prefer to do all
technical support on a voluntary basis through the Google Group, so that
some of the many other very experienced users can also provide help. The
general rule is that if you really need help with something that's not
working, you need to find a way to make the exercise available on a web
server somewhere so we can see the problem in action. Generally for
students to be able to access exercises, they need to be served from a
web server, so this is not a problem. But if you don't have any server
access, it's easy enough to get a free hosting account for this sort of
thing:

<https://www.forbes.com/advisor/ca/business/software/free-web-hosting/>

Cheers,
Martin

On 2023-11-13 07:58, Robin Reeves wrote:
> Hi Martin,
>
> Many thanks for your offer. Unfortunately I don't have a website and
> just store things on my hard disk or usbs. I don't know if files
> attached to emails get to you? If I need to send big files to someone
> else then I tend to use the WeTransfer service.
>
> However, I have been looking at the code in your shuffle.htm file and
> comparing it with my .htm file. The problem was that my .htm didn't have
> your MDH_Custom routine immediately after function StartUP() { and as
> soon as I copied and pasted it in, resaved the .htm file and ran it, the
> lines did shuffle so I now know a workaround. But have you any idea why
> setting the source file loaction to Shuffle folder didn't work please? I
> have definitely checked that the Jcloze6.js_ is in there.
>
> Thanks again,
> Robin
>
>
> ------------------------------------------------------------------------
> *From:* 'Martin Holmes' via hotpotatoesusers
> <hotpotat...@googlegroups.com>
> *Sent:* 11 November 2023 18:01
> *To:* hotpotatoesusers <hotpotat...@googlegroups.com>
> *Subject:* Re: [hotpotatoesusers] JCloze - am I dreaming?
>>>>>>> https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com> <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com>> <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com>>> <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com>>>> <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com>>>>> <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com>>>>>> <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com?utm_medium=email&utm_source=footer <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com?utm_medium=email&utm_source=footer <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com?utm_medium=email&utm_source=footer <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com?utm_medium=email&utm_source=footer <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com?utm_medium=email&utm_source=footer <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com?utm_medium=email&utm_source=footer <https://groups.google.com/d/msgid/hotpotatoesusers/77b34ce0-7731-4312-9fb3-b58bef7dcd0an%40googlegroups.com?utm_medium=email&utm_source=footer>>>>>>>.
>>>>>>
>>>>>> --
>>>>>> 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.
>>>>>> To view this discussion on the web, visit
>>>>>> https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com> <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com>> <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com>>> <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com>>>> <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com>>>>> <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com <https://groups.google.com/d/msgid/hotpotatoesusers/04d2de9d-22f6-4e96-917e-d92986e246aa%40halfbakedsoftware.com>>>>>>.
>
> --
> 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.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/hotpotatoesusers/5248c36b-27cb-4383-90f2-0957384e0edf%40halfbakedsoftware.com <https://groups.google.com/d/msgid/hotpotatoesusers/5248c36b-27cb-4383-90f2-0957384e0edf%40halfbakedsoftware.com>.

Agnès S.

unread,
Nov 14, 2023, 9:27:56 AM11/14/23
to hotpotat...@googlegroups.com
Hi Robin,

I'm sorry, you were not dreaming.
I've found in the depths of my computer a version of the necessary tip
for HP6 (I suppose I got that one from the uvic site) and a version for
HP7 (did I find it on the uvic site or did I make the adaptation myself,
I don't know).

So I've added it in the "Tips and tricks" section on my site
http://hpaddons.free.fr/

NB : you should always use "Reply All" because it's very difficult to
follow the thread when some messages are private and some are not. And
the more readers there are, the more responses there will be.

Cheers,
Agnès S.

Robin Reeves

unread,
Nov 14, 2023, 11:46:18 AM11/14/23
to hotpotatoesusers
Thank you very much Agnès and thank you too to Martin for all his help and for the link for the free web hosting sites.
I think I will use this shuffle routine a lot as I do tend to set several one-liner questions. I find that, particularly up to now, with my JMatch exercises that I often go through an exercise with my students, then refresh the page to help them consolidate what we have just done, so being able to do this with a JCloze exercise as well is great. Thank you both again.
I've started using the JCloze Drag the words more often than the ordinary JCloze recently because it gives the students visual feedback on which words are left after some have been picked. Would it be very difficult to code a combination of JCloze Drag the words and the shuffle ability please? Sorry, I've been dreaming too much recently!
Many thanks again and I will remember to use the Reply All in future.
Robin

Agnès S.

unread,
Nov 15, 2023, 8:37:50 AM11/15/23
to hotpotat...@googlegroups.com
Hi Robin,

You can use the portion of code that Martin wrote in JCloze Drag the words.
Just copy the "MDH_Custom" code that is in instructions.txt and paste it
in jcloze7.js (the jcloze7.js that is in the source_jcdw folder) after
function StartUp() {.
You can do the same with every jcloze7.js that you use : in HP7+, in
versions with virtual pagination etc.

Cheers,
Agnès S.
http://hpaddons.free.fr/
> https://groups.google.com/d/msgid/hotpotatoesusers/a662d62f-a994-40c3-99fc-50dc6f9722a3n%40googlegroups.com
> <https://groups.google.com/d/msgid/hotpotatoesusers/a662d62f-a994-40c3-99fc-50dc6f9722a3n%40googlegroups.com?utm_medium=email&utm_source=footer>.
Reply all
Reply to author
Forward
0 new messages