I tried the code. It works perfectly except i can still tab to the 2nd, 3rd, 4th and 5th buttons. I want to lock down the exercise completely (except for the reset button) after the first button is clicked.
I’m attaching the hype file.
probability testing.hype.zip (74.9 KB)
Thanks again, i’m learning lots and love Hype
I am hoping that after the first button (4) is pressed, the other ones to the right cannot be selected. This whole exercise is geared so the student clicks a caramel button and the only other button after that that can be pressed is the reset button (return all candies to bag). The exercise doesn’t need to do anything else.
The part i’m having difficulty with is when clicking the first button, i can still tab to the 2nd one and trigger it’s js. I do need to tab for accessibility reasons though.
p.s. i was able to fake the functionality but it would be nice to know how to do this programatically as i’ll be using Hype a lot. What i did was when button 1 is clicked, the buttons i no longer want are hidden using jquery. I have an identical images of the buttons sitting behind the real buttons i want to disable, so it appears like the buttons are still there, just disabled.