Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Math speed quiz with numerical virrtual keyboad
(1 viewing) (1) Guest
component
Go to bottomPage: 12
TOPIC: Math speed quiz with numerical virrtual keyboad
#65575
Re:Math speed quiz with numerical virrtual keyboad 4 Years, 7 Months ago Karma: 0
Find my JavaScript keypad solution in the attached file. Please do give me better suggestions/solution if you don't mind.

I included JavaScript code and commented some other code in the /public_html/components/com_ariquiz/assets/js/questions.js file for method AQ.questions.FreeTextQuestion draw function
and then I also added JavaScript functions to the head tag in my template's index.php

Although it is working from there I am not sure if it is the proper place to add the code to the template's index.php head tag.
Any replies on this?

Some adverse events:
* when typing the answer after question loaded without setting focus with cursor in the answer tab it is working perfectly on my laptop and Samsung 10" tablet,
- but on my mobile phone Huawei P8 lite it is typing double digits.
- On my son's 7" Lenovo tablet it gives error when I tap on the Enter to load next question. (maybe something wrong with my JavaScript)
See the quiz on speedskillsonline dot com www.speedskillsonline.com
File Attachment:
File Name: ariquiz_javascript_keypad.zip
File Size: 1879
getafix
What goes around comes around.
User Offline Click here to see the profile of this user
Gender: Male GetafixZA Getafix IT Solutions
Last Edit: 2019/09/29 08:11 By getafix.Reason: spelling. Can you maybe correct the subject spelling to virtual keyboard please
The administrator has disabled public write access.
 
#65649
Re:Math speed quiz with numerical virrtual keyboad 4 Years, 6 Months ago Karma: 0
Since some mobile devices and tablets caused double entries when keyboard numbers are pressed, I modified the js code to accommodate for that as well.
See the new zip attachment.
Is there a beter place rather to put the js code part in the header of the template?
File Attachment:
File Name: js_code_for_keypad_in_questions.zip
File Size: 2328
getafix
What goes around comes around.
User Offline Click here to see the profile of this user
Gender: Male GetafixZA Getafix IT Solutions
The administrator has disabled public write access.
 
#65955
Re:Math speed quiz with numerical virrtual keyboad 4 Years, 3 Months ago Karma: 2
Can you send it to me as well?
I will be very thankful
The administrator has disabled public write access.
 
#65957
Re:Math speed quiz with numerical virrtual keyboad 4 Years, 3 Months ago Karma: 0
I belief this is my latest version
See attached.
getafix
What goes around comes around.
User Offline Click here to see the profile of this user
Gender: Male GetafixZA Getafix IT Solutions
Last Edit: 2020/01/12 18:33 By getafix.Reason: added zip to image box instead of file box
The administrator has disabled public write access.
 
#66102
Re:Math speed quiz with numerical virrtual keyboad 4 Years, 2 Months ago Karma: 2
Thank you very much... It works perfectly on my laptop...

Did you apply it to MultipleFreeTextQuestions as well?
The administrator has disabled public write access.
 
Go to topPage: 12