Picture of Ludovic Bas
alternative _setCompletionOn
by Ludovic Bas - Friday, 9 March 2018, 3:22 PM
 

Hello,

I have made an Adapt course without scroll (each page is a sco) and I modified the trickle button to navigate to the next sco.

My problem is that sometimes the page is slightly bigger than the window and the trickle button stays hidden.

But there is nothing important outsite the window (problably margin?).

So I would like to bypass the "inview" by using a new option inĀ _setCompletionOn or by just adding a little hack in my code.

How can I do that?

Picture of Matt Leathes
Re: alternative _setCompletionOn
by Matt Leathes - Friday, 9 March 2018, 4:09 PM
 

I presume you're referring to either text or graphic components? If so, you can change the && in this line to || so that's it's only necessary for the top (or bottom) of the component to have appeared in the viewport - as opposed to both.

Picture of Ludovic Bas
Re: alternative _setCompletionOn
by Ludovic Bas - Monday, 12 March 2018, 9:07 PM
 

Thank you Matt.