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?

A bug in Trivia quizzes
(1 viewing) (1) Guest
"ARI Stream Quiz" WordPress plugin
Go to bottomPage: 1
TOPIC: A bug in Trivia quizzes
#68123
A bug in Trivia quizzes 2 Years, 8 Months ago Karma: 0
Hi! I've always had a smart scroll enabled in your plugin, but recently I decided to turn it off. And when I did it, I noticed a problem, that happens with Trivia quizzes only.

When I pass my quiz on mobile phone (iPhone 6) and press the final anwer, then my screen suddenly scrolls up. On PC everything works fine. Here is a gif with this problem: ibb.co/WyDH6hb

I thought, that it's related to my custom css/js code, but I deleted it fully, and the problem still appeared.

Can you solve this? Here is a quiz with this problem: litfan.ru/testy/test-kak-horosho-ty-znaesh-garri-pottera/
The administrator has disabled public write access.
 
#68124
Re:A bug in Trivia quizzes 2 Years, 8 Months ago Karma: 748
Hello,

Open "ARI Stream Quiz -> Settings -> Advanced" page and populate "Custom JS code" parameter with the following code:

(function() { var quiz = $('.ari-stream-quiz').ariStreamQuiz();var oldShowResultsHandler = quiz.showResults; quiz.showResults = function() { oldShowResultsHandler.call(quiz, true); }; })();

It disables auto scroll when show results page.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#68129
Re:A bug in Trivia quizzes 2 Years, 8 Months ago Karma: 0
Unfortunately, this js code didn't work. Maybe you wrote it wrong? It also added an error to Dev Console: Uncaught TypeError: $ is not a function.

And one more thing: I've just tried to make a repost of Trivia quiz in Facebook, and not only it didn't put my custom text with predefined variables (it just inserted a quiz name), but when I follow a reposted quiz link from Facebook, there is '?asq_share=' added with a lot of other symbols at the end of link. And the same error is shown in console: 'Uncaught TypeError: $ is not a function', but now because of '?asq_share=', not because of your js code.

I hope for your help.
The administrator has disabled public write access.
 
#68130
Re:A bug in Trivia quizzes 2 Years, 8 Months ago Karma: 0
And btw, I don't think, that the problem is caused by autoscroll. When users select the last answer, extra content is added to each answer (X with 'wrong' and ✓ with 'right'). Maybe, this makes the screen to 'jump' up?
The administrator has disabled public write access.
 
Go to topPage: 1