Hi Smartbuilder,
We are trying to get some new javascript functionality in our lessons, but are having some trouble.
Our main thing is that we are trying to create and download a custumised pdf based upon the variables. For this our programmer is trying to add the external library pdf.js, but for some reason it keeps getting the error 'unable to find pdf.js'. This means it is able to read the the js file in the config folder, but can not load the external library. We've also tried adding code in the html file (manually after publishing), but it still doesn't work.
We are now trying to add the library in ourselves (the js.map file) but this doesn't work either. I know it's a bit of a vague questions, but I was hoping you guys recognise the issue or could maybe point us in the right direction.
A second thing is that we are trying to add a 'fullscreen' button in our lesson. We are already able to let the browser go fullscreen, but the lesson doesn't scale up, so it just ends up the same size in the top left corner, with then the rest of the screen in the color of 'stage background'. I hope we are just targeting the wrong div, but maybe you guys also have an idea on this topic.
Thanks in advance. Our project are getting better each time with all your tips and tricks