Recently I wanted to show a 'well done, you're done here - next steps' alert box once a student had completed a certain activitie/s. I had wanted to do this with the filtercodes {ifactivitycompleted X} filter, however it didn't work for a quiz so I had to do it manually. I share my hideous solution... Continue Reading →
Moodle Quiz – only answer previously incorrect questions on second attempt
Been a while since I did anything worth writing down technically, but this might be handy for people. I'm making a robust assessment with the Moodle Quiz activity. It needs to be user-friendly, so if someone fails, we want them to only have to re-answer the questions they got wrong. I had to bail on... Continue Reading →
Videos won’t play again in Storyline 2
I have been developing a screen with various videos on it. I would like learners to watch the videos again if they want to - but there is a bug in Storyline 2, where the 'media completes' trigger on the videos breaks the screens in some instances - the videos won't play again. It is... Continue Reading →
Create an HTML page with JavaScript using Storyline variables
At the end of a Storyline module I'm making, I wanted to create an easily printable page that contained all the freetext field entries the learner had made during the course. I tried doing the basic old 'window.print()' - but since Storyline on desktop runs through flash, the print function was being a bit weird.... Continue Reading →
Publish template for Captivate – scale the output down but not up
You're in a pickle with Captivate simulation sizes: You want to have as much room as possible so the simulation is as similar to the real system as possible. You don't want the size to scale up - being pictures, it gets fuzzy and looks bad once it's larger than 100%. You don't want the... Continue Reading →
Get learner name from LMS with JavaScript, for Captivate and Storyline
Getting the learner name from the LMS is a nice wee trick to personalise a course (used sparingly!) Using whatever API (in this instance I was using Pipwerks SCORM 1.2 demo shell), var learnerName = get('cmi.core.student_name'); The SCORM standard stores the name as LastName, FirstName MiddleInitial, so the name comes out as 'Blair, Lawrence' for... Continue Reading →
Link to a particular page of a PDF
You can link to a particular page of a PDF by passing a simple parameter in the URL. Quite handy in eLearning when linking reference material! whatever.pdf#page=42
Encoding video adds brightness
Every time I encoded a video I've been working on from the enormous .avi format to .mp4, it was washing out all my colours. My very light background texture was all but disappearing, and everything looked like rubbish. After lots of investigation, it was the settings in VLC which were doing it. I turned my... Continue Reading →
Dialog pages not working on more than one page in jQuery mobile
I'm a novice in jQuery mobile, this had me stumped. Everything would work fine on one page, but once I navigated between pages, my dialog pages would fail to open. Turns out, if you're doing internal linking on one page, you need to turn off ajax for navigating to the new page. Ajax loads with... Continue Reading →
Track Adobe Captivate courses without an LMS
I give Adobe a hard time on Craptivate (it is terrible) but I've just found something that doesn't quite suck – a way to report on courses without an LMS. And this comes packaged with Captivate - the 'Adobe Quiz Results Analyser'! It's very easy to set up: put 'internalServerReporting.php' and 'internalserverread.php' from your 'C:\Program Files\Adobe\Adobe... Continue Reading →
print out xml data that is loaded in javascript / AJAX
Paranoid the reason nothing is coming out is that nothing is coming in? This is a nice and easy alert option to print out your XML doc as an alert, so you know the data's there. If nothing's working - it's some other reason! $.ajax({ type: "GET", url: "courses.xml", dataType: "xml", success: function (data) {... Continue Reading →
Checking whether jQuery and jQuery ui have loaded
Basic stuff for those who know what they're doing with js - useful to me, when intranets keep stripping URLs and things! <script type="text/javascript"><!-- window.onload = function() { if (window.jQuery) { // jQuery is loaded alert("jQuery loaded -Yeah!"); } else { // jQuery is not loaded alert("jQuery Doesn't Work"); } if (jQuery.ui) { // UI... Continue Reading →