all questions open in jqz

12 views
Skip to first unread message

Олексій Цепкало

unread,
Feb 15, 2026, 11:38:17 AM (5 days ago) Feb 15
to hotpotatoesusers
Hello, gurus. How can I make the Jquiz open with all the questions at once and remove button “Show All Questions)”?  The items should be shuffled too in all orders. Thanks in advance.

Martin Holmes

unread,
Feb 15, 2026, 1:11:20 PM (5 days ago) Feb 15
to hotpotatoesusers
I think you would have to add some custom JavaScript to make that happen. How comfortable are you with editing the JavaScript source files?

I think it would be sufficient to add this line at the end of the StartUp() function in jquiz7.js_:

ShowHideQuestions();


Shuffling of questions and answers is handled in the Configuration screen, on the Other tab.

Cheers,
Martin

Олексій Цепкало

unread,
Feb 15, 2026, 3:14:35 PM (5 days ago) Feb 15
to hotpotatoesusers
It works, thank you. Another question is how to remove "Show one  by one" button completely?
воскресенье, 15 февраля 2026 г. в 20:11:20 UTC+2, Martin Holmes:

Martin Holmes

unread,
Feb 15, 2026, 6:12:18 PM (5 days ago) Feb 15
to hotpotatoesusers
Hi there,

To hide the button, you can just add this to hp7.cs_

button#ShowMethodButton{
  display: none;
}

Hope this helps,
Martin

On Sunday, February 15, 2026 at 8:38:17 AM UTC-8 atse...@gmail.com wrote:

Agnès S.

unread,
Feb 16, 2026, 3:04:55 AM (5 days ago) Feb 16
to hotpotat...@googlegroups.com
Ah ! Strangely it doesn't work for me...

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/c6dc63e6-65bb-4a7b-
> b5cd-1d8815dafe0bn%40googlegroups.com <https://groups.google.com/d/
> msgid/hotpotatoesusers/c6dc63e6-65bb-4a7b-
> b5cd-1d8815dafe0bn%40googlegroups.com?utm_medium=email&utm_source=footer>.

Agnès S.

unread,
Feb 16, 2026, 10:21:50 AM (4 days ago) Feb 16
to hotpotat...@googlegroups.com
Hi,

Олексій Цепкало replied privately that Martin's solution worked for him,
but he uses HotPot v6.3.0.1.
I tried it with HotPot v6.3.0.5 and it works, but not with HotPot v7.
I'llexamine the code to see the difference between the two versions.

Agnès S.

Agnès S.

unread,
Feb 16, 2026, 10:58:59 AM (4 days ago) Feb 16
to hotpotat...@googlegroups.com
Ok, I've found the cause of the problem.
You must have:
var ShowingAllQuestions = false;
and I had:
var ShowingAllQuestions = true;
certainly because I had tested too much things.

However, I prefer to make changes in jquiz7.js_ rather than in hp7.cs_.

So the solution I use is:
// Addition: to display all questions at the start
ShowHideQuestions();
// hide the ShowAllQuestions button
document.getElementById('ShowMethodButton').style.display = 'none';
// End of addition

at the end of of the StartUp() function in jquiz7.js_

Cheers,
Agnès S.

Martin Holmes

unread,
Feb 16, 2026, 12:17:37 PM (4 days ago) Feb 16
to hotpotatoesusers
Hi Agnès,

I wonder why the CSS doesn't work? Anyway, thanks for the tip!

Cheers,
Martin 

Agnès S.

unread,
Feb 17, 2026, 3:13:09 AM (4 days ago) Feb 17
to hotpotat...@googlegroups.com
Martin,
The css solution probably works well (I haven't tried it) but I prefer
not to modify two files if I can modify only one.
I like to keep my css unchanged because I have the same for all HotPot
applications.

Cheers
Agnès S.
> msgid/ <https://groups.google.com/d/msgid/>
> >>> hotpotatoesusers/c6dc63e6-65bb-4a7b-
> >>> b5cd-1d8815dafe0bn%40googlegroups.com
> <http://40googlegroups.com> <https://groups.google.com/d/ <https://
> groups.google.com/d/>
> >>> msgid/hotpotatoesusers/c6dc63e6-65bb-4a7b-
> >>> b5cd-1d8815dafe0bn%40googlegroups.com <http://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
> <mailto:hotpotatoesuse...@googlegroups.com>.
> To view this discussion, visit https://groups.google.com/d/msgid/
> hotpotatoesusers/bf7e6ba3-9389-4f04-a627-
> de6412907379n%40googlegroups.com <https://groups.google.com/d/msgid/
> hotpotatoesusers/bf7e6ba3-9389-4f04-a627-
> de6412907379n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Reply all
Reply to author
Forward
0 new messages