Hi there,Very nice and easy plugin, i see lot of p…
Hi there,Very nice and easy plugin, i see lot of people having problem with scroll at end of quiz.For me, I don’t have problem with that but i want to disable the scroll, is there any way to do that ?I’ve already seen the “Show Results Above Quiz” option and the option is already “Off” but scroll is still here
This thread has been imported from harmonicdesign.ca/hd-quiz/
Hi Florian,there is no built in “no scroll” option; the “show results above quiz” is just for positioning. Enabled, results are above the quiz, disabled, results are below the quiz. In either case the site needs to scroll to the results so that the user knows where they are.
So first of all, looking at the way I presented the option, I 100% see how this could be construed to mean that it will stop scrolling, so I will rewrite this in the next version to make its function more clear.
Second, there is a way to disable scrolling altogether, but I will require editing a line of code in the plugin. If you are OK with that please let me know and I can tell you what file to edit and what line to change.
Dylan,Thanks for the fast reply, of course if you can tell me what line i can edit for disabled it, it will be great !
Hi Florian,sorry for the delay!
includes/js/hdq_script.js and in line
256, you will see the function that scrolls to the results. You’;; want to delete everthing from line
272. Just please note that this will need to be done each time you update HD Quiz – but the next version might have a fix for the scrolling issue some people have.
If you are enjoying HD Quiz please leave a review here on the official WordPress.org page. HD Quiz is developed by me, just some dude, and is supported and available for free. It may seem dumb, but truly nothing makes me happier than knowing that people are using and loving HD Quiz and my hard work.
This thread has either been marked as complete or has been automatically closed due to inactivity.